{"id":45461723,"url":"https://github.com/salesforcecli/plugin-data-seeding","last_synced_at":"2026-04-12T05:07:37.215Z","repository":{"id":263601944,"uuid":"847799021","full_name":"salesforcecli/plugin-data-seeding","owner":"salesforcecli","description":"Migrate real data, generate fake data using GenAI, or deploy data files to target orgs.","archived":false,"fork":false,"pushed_at":"2026-03-22T11:49:45.000Z","size":3763,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-03-22T18:50:20.925Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salesforcecli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-26T15:10:36.000Z","updated_at":"2026-03-22T11:48:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"fdf2e3c5-b431-467f-828c-84c6ea215a31","html_url":"https://github.com/salesforcecli/plugin-data-seeding","commit_stats":null,"previous_names":["salesforcecli/plugin-data-seeding"],"tags_count":99,"template":false,"template_full_name":null,"purl":"pkg:github/salesforcecli/plugin-data-seeding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforcecli%2Fplugin-data-seeding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforcecli%2Fplugin-data-seeding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforcecli%2Fplugin-data-seeding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforcecli%2Fplugin-data-seeding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salesforcecli","download_url":"https://codeload.github.com/salesforcecli/plugin-data-seeding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforcecli%2Fplugin-data-seeding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-22T08:00:57.295Z","updated_at":"2026-04-12T05:07:37.208Z","avatar_url":"https://github.com/salesforcecli.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**NOTE: This template for sf plugins is not yet official. Please consult with the Platform CLI team before using this template.**\n\n# plugin-data-seeding\n\n[![NPM](https://img.shields.io/npm/v/@salesforce/plugin-data-seeding.svg?label=@salesforce/plugin-data-seeding)](https://www.npmjs.com/package/@salesforce/plugin-data-seeding) [![Downloads/week](https://img.shields.io/npm/dw/@salesforce/plugin-data-seeding.svg)](https://npmjs.org/package/@salesforce/plugin-data-seeding) [![License](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://opensource.org/license/apache-2-0)\n\n## Using the template\n\nThis repository provides a template for creating a plugin for the Salesforce CLI. To convert this template to a working plugin:\n\n1. Please get in touch with the Platform CLI team. We want to help you develop your plugin.\n2. Generate your plugin:\n\n   ```\n   sf plugins install dev\n   sf dev generate plugin\n\n   git init -b main\n   git add . \u0026\u0026 git commit -m \"chore: initial commit\"\n   ```\n\n3. Create your plugin's repo in the salesforcecli github org\n4. When you're ready, replace the contents of this README with the information you want.\n\n## Learn about `sf` plugins\n\nSalesforce CLI plugins are based on the [oclif plugin framework](https://oclif.io/docs/introduction). Read the [plugin developer guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_plugins.meta/sfdx_cli_plugins/cli_plugins_architecture_sf_cli.htm) to learn about Salesforce CLI plugin development.\n\nThis repository contains a lot of additional scripts and tools to help with general Salesforce node development and enforce coding standards. You should familiarize yourself with some of the [node developer packages](#tooling) used by Salesforce. There is also a default circleci config using the [release management orb](https://github.com/forcedotcom/npm-release-management-orb) standards.\n\nAdditionally, there are some additional tests that the Salesforce CLI will enforce if this plugin is ever bundled with the CLI. These test are included by default under the `posttest` script and it is required to keep these tests active in your plugin if you plan to have it bundled.\n\n### Tooling\n\n- [@salesforce/core](https://github.com/forcedotcom/sfdx-core)\n- [@salesforce/kit](https://github.com/forcedotcom/kit)\n- [@salesforce/sf-plugins-core](https://github.com/salesforcecli/sf-plugins-core)\n- [@salesforce/ts-types](https://github.com/forcedotcom/ts-types)\n- [@salesforce/ts-sinon](https://github.com/forcedotcom/ts-sinon)\n- [@salesforce/dev-config](https://github.com/forcedotcom/dev-config)\n- [@salesforce/dev-scripts](https://github.com/forcedotcom/dev-scripts)\n\n# Everything past here is only a suggestion as to what should be in your specific plugin's description\n\nThis plugin is bundled with the [Salesforce CLI](https://developer.salesforce.com/tools/sfdxcli). For more information on the CLI, read the [getting started guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm).\n\nWe always recommend using the latest version of these commands bundled with the CLI, however, you can install a specific version or tag if needed.\n\n## Install\n\n```bash\nsf plugins install @salesforce/plugin-data-seeding@x.y.z\n```\n\n## Issues\n\nPlease report any issues at https://github.com/forcedotcom/cli/issues\n\n## Contributing\n\n1. Please read our [Code of Conduct](CODE_OF_CONDUCT.md)\n2. Create a new issue before starting your project so that we can keep track of\n   what you are trying to add/fix. That way, we can also offer suggestions or\n   let you know if there is already an effort in progress.\n3. Fork this repository.\n4. [Build the plugin locally](#build)\n5. Create a _topic_ branch in your fork. Note, this step is recommended but technically not required if contributing using a fork.\n6. Edit the code in your fork.\n7. Write appropriate tests for your changes. Try to achieve at least 95% code coverage on any new code. No pull request will be accepted without unit tests.\n8. Sign CLA (see [CLA](#cla) below).\n9. Send us a pull request when you are done. We'll review your code, suggest any needed changes, and merge it in.\n\n### CLA\n\nExternal contributors will be required to sign a Contributor's License\nAgreement. You can do so by going to https://cla.salesforce.com/sign-cla.\n\n### Build\n\nTo build the plugin locally, make sure to have yarn installed and run the following commands:\n\n```bash\n# Clone the repository\ngit clone git@github.com:salesforcecli/plugin-data-seeding\n\n# Install the dependencies and compile\nyarn \u0026\u0026 yarn build\n```\n\nTo use your plugin, run using the local `./bin/dev.js` or `./bin/dev.cmd` file.\n\n```bash\n# Run using local run file.\n./bin/dev.js data-seeding generate\n```\n\nThere should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine.\n\n```bash\n# Link your plugin to the sf cli\nsf plugins link .\n# To verify\nsf plugins\n```\n\n## Commands\n\n\u003c!-- commands --\u003e\n\n- [`sf data-seeding generate`](#sf-data-seeding-generate)\n- [`sf data-seeding generate report`](#sf-data-seeding-generate-report)\n- [`sf data-seeding migrate`](#sf-data-seeding-migrate)\n- [`sf data-seeding migrate report`](#sf-data-seeding-migrate-report)\n\n## `sf data-seeding generate`\n\nGenerate synthetic org data that mimics existing data in a source org, and then load it into a separate target org.\n\n```\nUSAGE\n  $ sf data-seeding generate -o \u003cvalue\u003e -s \u003cvalue\u003e -f \u003cvalue\u003e [--json] [--flags-dir \u003cvalue\u003e] [-w \u003cvalue\u003e | --async]\n\nFLAGS\n  -f, --config-file=\u003cvalue\u003e  (required) Path to the data seeding JSON configuration file.\n  -o, --target-org=\u003cvalue\u003e   (required) Username or alias of the target org into which the generated data will be\n                             loaded.\n  -s, --source-org=\u003cvalue\u003e   (required) Username or alias of the source org that contains the data that AI will mimic.\n  -w, --wait=\u003cvalue\u003e         [default: 33 minutes] Number of minutes to wait for the command to complete; when reached,\n                             the command completes asynchronously if necessary.\n      --async                Run the command asynchronously and immediately return control of the terminal.\n\nGLOBAL FLAGS\n  --flags-dir=\u003cvalue\u003e  Import flag values from a directory.\n  --json               Format output as json.\n\nDESCRIPTION\n  Generate synthetic org data that mimics existing data in a source org, and then load it into a separate target org.\n\n  This command uses AI to generate synthetic (or \"fake\") data that has a similar format to selected data in a source\n  org. The command uses a JSON configuration file to define the characteristics of the synthetic data. For example, the\n  configuration file might specify the number of records to generate for one or more Salesforce objects, along with the\n  subset of fields to include. Once generated, the data is automatically loaded into the specified target org. You must\n  be authenticated to both the source and target orgs before running this command.\n\n  By default, this command runs synchronously and outputs the job ID, along with a running status of each execution\n  phase, such as querying the source org or generating the data. If you prefer, you can run the command asynchronously\n  by specifying the --async flag so that the control of the terminal is immediately returned to you. Then use the job ID\n  to run the \"data-seeding generate report\" command to view the status.\n\nEXAMPLES\n  Generate synthetic data similar to existing data in the org with alias \"mySourceOrg\" then load it into the org with\n  alias \"myTargetOrg\"; use the specified config file to determine the format of the generated data:\n\n    $ sf data-seeding generate --source-org mySourceOrg --target-org myTargetOrg --config-file \\\n      ./config/seed-config.json\n\n  Generate synthetic data using org usernames and run the command asynchronously:\n\n    $ sf data-seeding generate --source-org source@org.com\" --target-org target@org.com\" --config-file \\\n      ./config/seed-config.json --async\n\n  Generate synthetic data using org aliases; if after 5 minutes the command hasn't finished, it completes\n  asynchronously:\n\n    $ sf data-seeding generate --source-org source@org.com\" --target-org target@org.com\" --config-file \\\n      ./config/seed-config.json --wait 5\n```\n\n_See code: [src/commands/data-seeding/generate/index.ts](https://github.com/salesforcecli/plugin-data-seeding/blob/1.1.95/src/commands/data-seeding/generate/index.ts)_\n\n## `sf data-seeding generate report`\n\nDisplay the status of a data-seeding generate job.\n\n```\nUSAGE\n  $ sf data-seeding generate report [--json] [--flags-dir \u003cvalue\u003e] [-i \u003cvalue\u003e] [-r]\n\nFLAGS\n  -i, --job-id=\u003cvalue\u003e   ID of a specific execution of the \"data-seeding generate\" command.\n  -r, --use-most-recent  View the status of the most recently run \"data-seeding generate\" command.\n\nGLOBAL FLAGS\n  --flags-dir=\u003cvalue\u003e  Import flag values from a directory.\n  --json               Format output as json.\n\nDESCRIPTION\n  Display the status of a data-seeding generate job.\n\n  This command displays the status of a previously initiated or completed execution of the \"data-seeding generate\"\n  command. Run this command by either passing it the job ID returned by \"data-seeding generate\", or use the\n  --use-most-recent flag to view the status of the most recently run \"data-seeding generate\" command.\n\nEXAMPLES\n  Display the status of a specific execution of the \"data-seeding generate\" command:\n\n    $ sf data-seeding generate report --job-id 1234-5678-AAAA-BBBB\n\n  Display the status of the most recently run \"data-seeding generate\" command:\n\n    $ sf data-seeding generate report --use-most-recent\n```\n\n_See code: [src/commands/data-seeding/generate/report.ts](https://github.com/salesforcecli/plugin-data-seeding/blob/1.1.95/src/commands/data-seeding/generate/report.ts)_\n\n## `sf data-seeding migrate`\n\nMigrate data from one org to another.\n\n```\nUSAGE\n  $ sf data-seeding migrate -o \u003cvalue\u003e -s \u003cvalue\u003e -f \u003cvalue\u003e [--json] [--flags-dir \u003cvalue\u003e] [-w \u003cvalue\u003e | --async]\n\nFLAGS\n  -f, --config-file=\u003cvalue\u003e  (required) Path to the data migration JSON configuration file.\n  -o, --target-org=\u003cvalue\u003e   (required) Username or alias of the target org into which the migrated data is loaded.\n  -s, --source-org=\u003cvalue\u003e   (required) Username or alias of the source org that contains the data to be migrated.\n  -w, --wait=\u003cvalue\u003e         [default: 33 minutes] Number of minutes to wait for the command to complete; when reached,\n                             the command completes asynchronously if necessary.\n      --async                Run the command asynchronously and immediately return control of the terminal.\n\nGLOBAL FLAGS\n  --flags-dir=\u003cvalue\u003e  Import flag values from a directory.\n  --json               Format output as json.\n\nDESCRIPTION\n  Migrate data from one org to another.\n\n  This command migrates selected data from a source org and loads it into a target org. The command uses a JSON\n  configuration file that defines the characteristics of the data. For example, the configuration file might specify a\n  number of records from one or more Salesforce objects to migrate, along with the subset of fields to include. You must\n  be authenticated to both the source and target orgs before running this command.\n\n  By default, this command runs synchronously and outputs a job ID along with a running status of each execution phase,\n  such as querying the source org or loading into the target. If you prefer, you can run the command asynchronously by\n  specifying the --async flag so that the control of the terminal is immediately returned to you. Then use the job ID to\n  run the \"data-seeding migrate report\" command to view the status.\n\nEXAMPLES\n  Migrate data from the org with alias \"mySourceOrg\" to the org with alias \"myTargetOrg\"; use the specified\n  configuration file to determine the data to migrate:\n\n    $ sf data-seeding migrate --source-org mySourceOrg --target-org myTargetOrg --config-file \\\n      ./config/data-seed.json\n\n  Migrate data by specifying usernames for the source and target orgs, and run the command asynchronously:\n\n    $ sf data-seeding migrate --source-org source@org.com --target-org target@org.com \\\n      --config-file=./config/data-seed.json --async\n\n  Migrate data using org aliases; if after 5 minutes the command hasn't finished, it completes asynchronously:\n\n    $ sf data-seeding migrate --source-org mySourceOrg --target-org myTargetOrg --config-file \\\n      ./config/data-seed.json --wait 5\n```\n\n_See code: [src/commands/data-seeding/migrate/index.ts](https://github.com/salesforcecli/plugin-data-seeding/blob/1.1.95/src/commands/data-seeding/migrate/index.ts)_\n\n## `sf data-seeding migrate report`\n\nDisplay the status of a data-seeding migrate job.\n\n```\nUSAGE\n  $ sf data-seeding migrate report [--json] [--flags-dir \u003cvalue\u003e] [-i \u003cvalue\u003e] [-r]\n\nFLAGS\n  -i, --job-id=\u003cvalue\u003e   ID of a specific execution of the \"data-seeding migrate\" command.\n  -r, --use-most-recent  View the status of the most recently run \"data-seeding migrate\" command.\n\nGLOBAL FLAGS\n  --flags-dir=\u003cvalue\u003e  Import flag values from a directory.\n  --json               Format output as json.\n\nDESCRIPTION\n  Display the status of a data-seeding migrate job.\n\n  This command displays the status of a previously initiated or completed execution of the \"data-seeding migrate\"\n  command. Run this command by either passing it the job ID returned by \"data-seeding migrate\", or use the\n  --use-most-recent flag to view the status of the most recently run \"data-seeding migrate\" command.\n\nEXAMPLES\n  Display the status of a specific execution of the \"data-seeding migrate\" command:\n\n    $ sf data-seeding migrate report --job-id 1234-5678-AAAA-BBBB\n\n  Display the status of the most recently run \"data-seeding migrate\" command:\n\n    $ sf data-seeding migrate report --use-most-recent\n```\n\n_See code: [src/commands/data-seeding/migrate/report.ts](https://github.com/salesforcecli/plugin-data-seeding/blob/1.1.95/src/commands/data-seeding/migrate/report.ts)_\n\n\u003c!-- commandsstop --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalesforcecli%2Fplugin-data-seeding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalesforcecli%2Fplugin-data-seeding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalesforcecli%2Fplugin-data-seeding/lists"}