copy-plugin
Copies a plugin from a Studio local folder into a project
Note
The connection to CrafterCMS needs to be setup via the add-environment command before using the command listed here.
Usage
crafter-cli copy-plugin [--config=path] -e=<environment> [-p=<profile>]
--path=<path> -s=<siteId>
Options
--config=path The folder to store configurations
-e, --environment=<environment>
The name of the environment
-p, --profile=<profile> The name of the profile (a label to group related configurations)
--path=<path> The plugin source path (must be a local folder to
Crafter Studio)
-s, --siteId=<siteId> The id of the site
Example
➜ ./crafter-cli copy-plugin -e local -s editorial --path /users/myuser/myplugin OK
See How Do I Make My Own Plugin? for the folder structure required for your plugin and more information on creating a plugin