{"id":13668363,"url":"https://github.com/forcedotcom/sfdx-plugin-generate","last_synced_at":"2025-04-26T22:31:01.882Z","repository":{"id":31517321,"uuid":"126897297","full_name":"forcedotcom/sfdx-plugin-generate","owner":"forcedotcom","description":null,"archived":true,"fork":false,"pushed_at":"2023-01-29T19:22:37.000Z","size":3436,"stargazers_count":73,"open_issues_count":11,"forks_count":17,"subscribers_count":32,"default_branch":"main","last_synced_at":"2025-04-19T13:18:05.017Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/forcedotcom.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null}},"created_at":"2018-03-26T22:28:07.000Z","updated_at":"2024-04-24T21:20:50.000Z","dependencies_parsed_at":"2023-02-16T00:46:03.645Z","dependency_job_id":null,"html_url":"https://github.com/forcedotcom/sfdx-plugin-generate","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forcedotcom%2Fsfdx-plugin-generate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forcedotcom%2Fsfdx-plugin-generate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forcedotcom%2Fsfdx-plugin-generate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forcedotcom%2Fsfdx-plugin-generate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forcedotcom","download_url":"https://codeload.github.com/forcedotcom/sfdx-plugin-generate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251063287,"owners_count":21530833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-08-02T08:00:32.997Z","updated_at":"2025-04-26T22:31:01.193Z","avatar_url":"https://github.com/forcedotcom.png","language":"TypeScript","funding_links":[],"categories":["Official plugins/modules from Salesforce"],"sub_categories":[],"readme":"# Description\n\n## **=== WARNING === This plugin has been deprecated and is no longer supported. Please use the [salesforcecli/plugin-dev](https://github.com/salesforcecli/plugin-dev) plugin instead.**\n\nThis is the generator plugin for building plugins for the Salesforce CLI. The generated sfdx plugin and command are built on top of the [oclif cli framework](https://github.com/oclif/oclif). A plug-in adds functionality to Salesforce CLI. Some plug-ins are provided by Salesforce and are installed by default when you install the CLI. Some plug-ins, built by Salesforce and others, you install. When you have a requirement that an existing plug-in doesn’t meet, you can build your own using Node.js.\n\n**Note:** As of @salesforce/command@1.3.0, if you want to override the static usage property you must use a getter. For consistency, we recommend keeping the standard behavior rather than overriding the usage property.\n\n# Usage\n\n## Check Your Salesforce CLI Version\n\nStarting with Salesforce CLI version 6.8.2, the plug-in generator is offered as a core plugin and can be used out of the box. To check your Salesforce CLI version:\n\n```\n$ sfdx --version\nsfdx-cli/6.42.0-ae478b3cb8 (darwin-x64) node-v8.9.4\n```\n\n## Generate a Salesforce CLI Plugin\n\nFollow the **[Salesforce CLI Plug-In Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_plugins.meta/sfdx_cli_plugins/cli_plugins.htm) **to create and update your plug-in. In the guide you will discover how to develop your own plug-ins for Salesforce CLI. Explore the Salesforce CLI architecture. Learn how to generate a plug-in using Salesforce Plug-In Generator, how to use Salesforce’s libraries to add functionality to your plug-in, and how to debug issues. Learn about our suggested style guidelines for naming and messages, and about our recommended best practices for plug-ins. And, peruse useful resources.\n\n# Related Docs and Repositories\n\n- [@forcedotcom/cli-packages](https://github.com/forcedotcom/cli-packages) - Lerna repository containing Salesforce CLI command api.\n- [@forcedotcom/sfdx-core](https://github.com/forcedotcom/sfdx-core) - API for working with a Salesforce DX project and managing Salesforce orgs\n- [@oclif/command](https://github.com/oclif/command) - Base command for oclif; this can be used directly without the generator\n- [@oclif/config](https://github.com/oclif/config) - Most of the core setup for oclif lives here\n- [@oclif/errors](https://github.com/oclif/errors) - Renders and logs errors from commands\n- [@oclif/cli-ux](https://github.com/oclif/cli-ux) - Library for common CLI UI utilities\n- [@oclif/test](https://github.com/oclif/test) - Test helper for oclif\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforcedotcom%2Fsfdx-plugin-generate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforcedotcom%2Fsfdx-plugin-generate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforcedotcom%2Fsfdx-plugin-generate/lists"}