diff --git a/messages/data-seeding.generate.md b/messages/data-seeding.generate.md index 0d1ce8c..7f28fa9 100644 --- a/messages/data-seeding.generate.md +++ b/messages/data-seeding.generate.md @@ -1,41 +1,47 @@ # summary -Generate org data using AI +Generate synthetic org data that mimics existing data in a source org, and then load it into a separate target org. # description -Generates data using AI that is similar to selected data from a source org, based on a configuration file, and loads it into a target org +This command uses AI to generate synthetic (or "fake") data that has a similar format to selected data in a source org. The command uses a JSON configuration file to define the characteristics of the synthetic data. For example, the configuration file might specify the number of records to generate for one or more Salesforce objects, along with the subset of fields to include. Once generated, the data is automatically loaded into the specified target org. You must be authenticated to both the source and target orgs before running this command. + +By default, this command runs synchronously and outputs the job ID, along with a running status of each execution phase, such as querying the source org or generating the data. If you prefer, you can run the command asynchronously by specifying the --async flag so that the control of the terminal is immediately returned to you. Then use the job ID to run the "data-seeding generate report" command to view the status. # examples -- Generate data using org aliases - - $ <%= config.bin %> <%= command.id %> -s mySourceOrg -o myTargetOrg -f "./config/seed-config.json" +- Generate synthetic data similar to existing data in the org with alias "mySourceOrg" then load it into the org with alias "myTargetOrg"; use the specified config file to determine the format of the generated data: + + <%= config.bin %> <%= command.id %> --source-org mySourceOrg --target-org myTargetOrg --config-file ./config/seed-config.json + +- Generate synthetic data using org usernames and run the command asynchronously: + + <%= config.bin %> <%= command.id %> --source-org source@org.com" --target-org target@org.com" --config-file ./config/seed-config.json --async -- Generate data using usernames for each org +- Generate synthetic data using org aliases; if after 5 minutes the command hasn't finished, it completes asynchronously: - $ <%= config.bin %> <%= command.id %> --source-org="source@org.com" --target-org="target@org.com" --config-file "./config/seed-config.json" + <%= config.bin %> <%= command.id %> --source-org source@org.com" --target-org target@org.com" --config-file ./config/seed-config.json --wait 5 # flags.target-org.summary -Username or alias of the Target org where generated data will be loaded to. +Username or alias of the target org into which the generated data will be loaded. # flags.source-org.summary -Username or alias of the Source org containing data to be used as input for AI to generate similar data. +Username or alias of the source org that contains the data that AI will mimic. # flags.config-file.summary -Path to data seeding JSON configuration file. +Path to the data seeding JSON configuration file. # flags.wait.summary -Number of minutes to wait for command to complete. +Number of minutes to wait for the command to complete; when reached, the command completes asynchronously if necessary. # flags.async.summary -Run the command asynchronously. +Run the command asynchronously and immediately return control of the terminal. # report.suggestion - - Check the status with: sf data-seeding generate report -i %s +- Run this command to check the status of the data generation: "sf data-seeding generate report --job-id %s" diff --git a/messages/data-seeding.generate.report.md b/messages/data-seeding.generate.report.md index a95d84a..7fc076e 100644 --- a/messages/data-seeding.generate.report.md +++ b/messages/data-seeding.generate.report.md @@ -1,23 +1,25 @@ # summary -View the status of a data-seeding generate job +Display the status of a data-seeding generate job. # description -View the status of a data-seeding generate job that has already been initiated or completed +This command displays the status of a previously initiated or completed execution of the "data-seeding generate" command. Run this command by either passing it the job ID returned by "data-seeding generate", or use the --use-most-recent flag to view the status of the most recently run "data-seeding generate" command. # examples -- Display the status of a specific data seeding job - <%= config.bin %> <%= command.id %> --job-id="[XXXX-YYYY-ZZZZ-AAAA]" +- Display the status of a specific execution of the "data-seeding generate" command: + + <%= config.bin %> <%= command.id %> --job-id 1234-5678-AAAA-BBBB + +- Display the status of the most recently run "data-seeding generate" command: -- Display the status of a the most recent data seeding job <%= config.bin %> <%= command.id %> --use-most-recent # flags.job-id.summary -ID of a specific `data-seeding generate` job. +ID of a specific execution of the "data-seeding generate" command. # flags.use-most-recent.summary -View status of most recent `data-seeding generate` job. +View the status of the most recently run "data-seeding generate" command. diff --git a/messages/data-seeding.migrate.md b/messages/data-seeding.migrate.md index bdc2071..f0d8df3 100644 --- a/messages/data-seeding.migrate.md +++ b/messages/data-seeding.migrate.md @@ -1,42 +1,47 @@ # summary -Migrates data from one org to another +Migrate data from one org to another. # description -Migrates selected data based on a configuration file from a source org and into a target org +This command migrates selected data from a source org and loads it into a target org. The command uses a JSON configuration file that defines the characteristics of the data. For example, the configuration file might specify a number of records from one or more Salesforce objects to migrate, along with the subset of fields to include. You must be authenticated to both the source and target orgs before running this command. + +By default, this command runs synchronously and outputs a job ID along with a running status of each execution phase, such as querying the source org or loading into the target. If you prefer, you can run the command asynchronously by specifying the --async flag so that the control of the terminal is immediately returned to you. Then use the job ID to run the "data-seeding migrate report" command to view the status. # examples -- Migrate data using a specific configuration file and org aliases - - $ <%= config.bin %> <%= command.id %> -s sourceOrg -t targetOrg -f "/config/data-seed.json" +- Migrate data from the org with alias "mySourceOrg" to the org with alias "myTargetOrg"; use the specified configuration file to determine the data to migrate: + + <%= config.bin %> <%= command.id %> --source-org mySourceOrg --target-org myTargetOrg --config-file ./config/data-seed.json + +- Migrate data by specifying usernames for the source and target orgs, and run the command asynchronously: + + <%= config.bin %> <%= command.id %> --source-org source@org.com --target-org target@org.com --config-file=./config/data-seed.json --async -- Migrate data using default configuration file and usernames for each org - - $ <%= config.bin %> <%= command.id %> --source-org="source@org.com" --target-org="target@org.com" --config-file="/config/data-seed.json" +- Migrate data using org aliases; if after 5 minutes the command hasn't finished, it completes asynchronously: + <%= config.bin %> <%= command.id %> --source-org mySourceOrg --target-org myTargetOrg --config-file ./config/data-seed.json --wait 5 # flags.target-org.summary -Username or alias of the Target org where data will be migrated to. +Username or alias of the target org into which the migrated data is loaded. # flags.source-org.summary -Username or alias of the Source org where data will be migrated from. +Username or alias of the source org that contains the data to be migrated. # flags.config-file.summary -Path to data migration JSON configuration file. +Path to the data migration JSON configuration file. # flags.async.summary -Run the command asynchronously. +Run the command asynchronously and immediately return control of the terminal. # flags.wait.summary -Number of minutes to wait for command to complete. +Number of minutes to wait for the command to complete; when reached, the command completes asynchronously if necessary. # report.suggestion - - Check the status with: sf data-seeding migrate report -i %s +- Run this command to check the status of the data migration: "sf data-seeding migrate report --job-id %s" diff --git a/messages/data-seeding.migrate.report.md b/messages/data-seeding.migrate.report.md index eb5929e..74d67c1 100644 --- a/messages/data-seeding.migrate.report.md +++ b/messages/data-seeding.migrate.report.md @@ -1,23 +1,25 @@ # summary -View the status of a data-seeding migrate job +Display the status of a data-seeding migrate job. # description -View the status of a data-seeding migrate job that has already been initiated or completed +This command displays the status of a previously initiated or completed execution of the "data-seeding migrate" command. Run this command by either passing it the job ID returned by "data-seeding migrate", or use the --use-most-recent flag to view the status of the most recently run "data-seeding migrate" command. # examples -- Display the status of a specific data seeding job - <%= config.bin %> <%= command.id %> --job-id="[XXXX-YYYY-ZZZZ-AAAA]" +- Display the status of a specific execution of the "data-seeding migrate" command: -- Display the status of a the most recent data seeding job - <%= config.bin %> <%= command.id %> --use-most-recent + <%= config.bin %> <%= command.id %> --job-id 1234-5678-AAAA-BBBB -# flags.job-id.summary +- Display the status of the most recently run "data-seeding migrate" command: -ID of a specific `data-seeding migrate` job. + <%= config.bin %> <%= command.id %> --use-most-recent + +# flags.job-id.summary +ID of a specific execution of the "data-seeding migrate" command. + # flags.use-most-recent.summary -View status of most recent `data-seeding migrate` job. +View the status of the most recently run "data-seeding migrate" command.