dev generate plugin

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
‑‑dry‑runN/AType: Boolean

Display the changes that would be made without writing them to disk.
‑‑flags‑dirN/AType: Value

Import flag values from a directory.

Examples for dev generate plugin 

1sf dev generate plugin