Command-Line Interface (CLI)
Livestorm CLI allows you to publish and more generally manage your plugin lifecycle.
Installation
In order to install the Livestorm CLI, you need to have a recent NodeJS installation.
yarn global add @livestorm/cliCommands
| command | description |
|---|---|
$ livestorm create | Generate a new plugin. The command will allow you to configure your newly created plugin. Most of the configuration keys you set during the configuration will be set into the This command will ask you for an |
$ livestorm publish <environment?> | Publish your plugin to the given environment name. If you provide an environment, the command will look for it in the Follow this guide dedicated to managing environments for more information. |
$ livestorm watch <environment?> | Republish your plugin to the given environment every time you make a change in your code. Since your plugin will be updated regularly we do not recommend |
$ livestorm review | Ask Livestorm for a review. It can be used for multiple purposes such as: publishing your plugin to our marketplace, accessing private APIs, unlocking specific access (allow-same-origin), etc. Learn more about the review process here. |
$ livestorm remove <environment> | Unpublish the plugin from the given environment. |
$ livestorm asset <file|directory> | Upload a file or directory and return a URL that can be used in your code. You can use it as a source for The URL is persisted and can be used as a long-term storage mean. |
$ livestorm list --environment <environment> | Get a list of all the plugins published on the given environment. |
$ livestorm list --api-token <token> | Get a list of all the plugins published on the organization linked with the given api token. |
$ livestorm envs add <environment> --api-token=<token> | Add a local environment This command is useful when you need to publish your plugin to an other workspace or with a different configuration without having to modify main config located |
$ livestorm envs remove <environment> | Remove a local environment |
$ livestorm envs list | List all the local environments |
$ livestorm help | Get a list of the commands you can use. |