copy-plugin

Copies a plugin from a Studio local folder into a site

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 Site Plugin? for the folder structure required for your plugin and more information on creating a plugin