@@ -108,36 +108,150 @@ sf plugins
108
108
<!-- commands -->
109
109
110
110
- [ ` sf data-seeding generate ` ] ( #sf-data-seeding-generate )
111
+ - [ ` sf data-seeding generate report ` ] ( #sf-data-seeding-generate-report )
112
+ - [ ` sf data-seeding migrate ` ] ( #sf-data-seeding-migrate )
113
+ - [ ` sf data-seeding migrate report ` ] ( #sf-data-seeding-migrate-report )
111
114
112
115
## ` sf data-seeding generate `
113
116
114
- Summary of a command.
117
+ Generate org data using AI
115
118
116
119
```
117
120
USAGE
118
- $ sf data-seeding generate [--json] [--flags-dir <value>] [-n <value>]
121
+ $ sf data-seeding generate -o <value> -s <value> -f <value> [--json] [--flags-dir <value>] [-w <value> | --async ]
119
122
120
123
FLAGS
121
- -n, --name=<value> Description of a flag.
124
+ -f, --config-file=<value> (required) Path to data seeding JSON configuration file.
125
+ -o, --target-org=<value> (required) Username or alias of the Target org where generated data will be loaded to.
126
+ -s, --source-org=<value> (required) Username or alias of the Source org containing data to be used as input for AI
127
+ to generate similar data.
128
+ -w, --wait=<value> [default: 33 minutes] Number of minutes to wait for command to complete.
129
+ --async Run the command asynchronously.
122
130
123
131
GLOBAL FLAGS
124
132
--flags-dir=<value> Import flag values from a directory.
125
133
--json Format output as json.
126
134
127
135
DESCRIPTION
128
- Summary of a command.
136
+ Generate org data using AI
129
137
130
- More information about a command. Don't repeat the summary.
138
+ Generates data using AI that is similar to selected data from a source org, based on a configuration file, and loads
139
+ it into a target org
131
140
132
141
EXAMPLES
133
- $ sf data-seeding generate
142
+ Generate data using org aliases
134
143
135
- FLAG DESCRIPTIONS
136
- -n, --name=<value> Description of a flag.
144
+ $ sf data-seeding generate -s mySourceOrg -o myTargetOrg -f "./config/seed-config.json"
137
145
138
- More information about a flag. Don't repeat the summary.
146
+ Generate data using usernames for each org
147
+
148
+ $ sf data-seeding generate --source-org="source@org.com" --target-org="target@org.com" --config-file \
149
+ "./config/seed-config.json"
150
+ ```
151
+
152
+ _ See code: [ src/commands/data-seeding/generate/index.ts] ( https://github.com/salesforcecli/plugin-data-seeding/blob/v1.0.3/src/commands/data-seeding/generate/index.ts ) _
153
+
154
+ ## ` sf data-seeding generate report `
155
+
156
+ View the status of a data-seeding generate job
157
+
158
+ ```
159
+ USAGE
160
+ $ sf data-seeding generate report [--json] [--flags-dir <value>] [-i <value>] [-r]
161
+
162
+ FLAGS
163
+ -i, --job-id=<value> ID of a specific `data-seeding generate` job.
164
+ -r, --use-most-recent View status of most recent `data-seeding generate` job.
165
+
166
+ GLOBAL FLAGS
167
+ --flags-dir=<value> Import flag values from a directory.
168
+ --json Format output as json.
169
+
170
+ DESCRIPTION
171
+ View the status of a data-seeding generate job
172
+
173
+ View the status of a data-seeding generate job that has already been initiated or completed
174
+
175
+ EXAMPLES
176
+ Display the status of a specific data seeding job
177
+
178
+ $ sf data-seeding generate report --job-id="[XXXX-YYYY-ZZZZ-AAAA]"
179
+
180
+ Display the status of a the most recent data seeding job
181
+
182
+ $ sf data-seeding generate report --use-most-recent
183
+ ```
184
+
185
+ _ See code: [ src/commands/data-seeding/generate/report.ts] ( https://github.com/salesforcecli/plugin-data-seeding/blob/v1.0.3/src/commands/data-seeding/generate/report.ts ) _
186
+
187
+ ## ` sf data-seeding migrate `
188
+
189
+ Migrates data from one org to another
190
+
191
+ ```
192
+ USAGE
193
+ $ sf data-seeding migrate -o <value> -s <value> -f <value> [--json] [--flags-dir <value>] [-w <value> | --async]
194
+
195
+ FLAGS
196
+ -f, --config-file=<value> (required) Path to data migration JSON configuration file.
197
+ -o, --target-org=<value> (required) Username or alias of the Target org where data will be migrated to.
198
+ -s, --source-org=<value> (required) Username or alias of the Source org where data will be migrated from.
199
+ -w, --wait=<value> [default: 33 minutes] Number of minutes to wait for command to complete.
200
+ --async Run the command asynchronously.
201
+
202
+ GLOBAL FLAGS
203
+ --flags-dir=<value> Import flag values from a directory.
204
+ --json Format output as json.
205
+
206
+ DESCRIPTION
207
+ Migrates data from one org to another
208
+
209
+ Migrates selected data based on a configuration file from a source org and into a target org
210
+
211
+ EXAMPLES
212
+ Migrate data using a specific configuration file and org aliases
213
+
214
+ $ sf data-seeding migrate -s sourceOrg -t targetOrg -f "/config/data-seed.json"
215
+
216
+ Migrate data using default configuration file and usernames for each org
217
+
218
+ $ sf data-seeding migrate --source-org="source@org.com" --target-org="target@org.com" \
219
+ --config-file="/config/data-seed.json"
220
+ ```
221
+
222
+ _ See code: [ src/commands/data-seeding/migrate/index.ts] ( https://github.com/salesforcecli/plugin-data-seeding/blob/v1.0.3/src/commands/data-seeding/migrate/index.ts ) _
223
+
224
+ ## ` sf data-seeding migrate report `
225
+
226
+ View the status of a data-seeding migrate job
227
+
228
+ ```
229
+ USAGE
230
+ $ sf data-seeding migrate report [--json] [--flags-dir <value>] [-i <value>] [-r]
231
+
232
+ FLAGS
233
+ -i, --job-id=<value> ID of a specific `data-seeding migrate` job.
234
+ -r, --use-most-recent View status of most recent `data-seeding migrate` job.
235
+
236
+ GLOBAL FLAGS
237
+ --flags-dir=<value> Import flag values from a directory.
238
+ --json Format output as json.
239
+
240
+ DESCRIPTION
241
+ View the status of a data-seeding migrate job
242
+
243
+ View the status of a data-seeding migrate job that has already been initiated or completed
244
+
245
+ EXAMPLES
246
+ Display the status of a specific data seeding job
247
+
248
+ $ sf data-seeding migrate report --job-id="[XXXX-YYYY-ZZZZ-AAAA]"
249
+
250
+ Display the status of a the most recent data seeding job
251
+
252
+ $ sf data-seeding migrate report --use-most-recent
139
253
```
140
254
141
- _ See code: [ src/commands/data-seeding/generate .ts] ( https://github.com/salesforcecli/plugin-data-seeding/blob/v1.0.0 /src/commands/data-seeding/generate .ts ) _
255
+ _ See code: [ src/commands/data-seeding/migrate/report .ts] ( https://github.com/salesforcecli/plugin-data-seeding/blob/v1.0.3 /src/commands/data-seeding/migrate/report .ts ) _
142
256
143
257
<!-- commandsstop -->
0 commit comments