Generate a new sf plugin.
Description for dev generate plugin
This command is interactive. You're prompted for information to populate your new plugin, such as its name, description, author, and percentage of code coverage you want. The command clones the 'salesforcecli/plugin-template-sf' GitHub repository, installs the plug-in's npm package dependencies using yarn install, and updates the package properties.
When the command completes, your new plugin contains the source, message, and test files for a sample "sf hello world" command.
Aliases for dev generate plugin
plugins:generate
Flags
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
| <code>‑‑dry‑run</code> | N/A | Type: Boolean<br><br>Display the changes that would be made without writing them to disk. |
| <code>‑‑flags‑dir</code> | N/A | Type: Value<br><br>Import flag values from a directory. |
Examples for dev generate plugin
sf dev generate plugin
<!-- prettier-ignore-end -->