sbux-siren-cli
v0.1.4
Published
Siren CLI for SBUX frontend development
Downloads
330
Readme
Siren CLI for SBUX frontend development
Install
npm install sbux-siren-cli -g
Init npm register scope(optional,only for sbux env)
> siren # show all commands
> siren npm init-sbux-registry # init @sbux register to local first
> siren npm search # show all internal npm list
Basic Usage
# install plugin
> siren plugin search # default show all remote plugins
> siren plugin list # list local installed plugins
> siren plugin add @sbux/siren-plugin-xxxx # install plugin
> siren plugin remove @sbux/siren-plugin-xxxx # remove plugin
Install Plugin & Use Plugin
# example: @sbux/siren-plugin-npm-publish
> siren plugin add @sbux/siren-plugin-nexus-npm-publish
> siren nexus-npm # show sbux command help info
> siren nexus-npm upload # upload a package to sbux npm
Development plugin
# example: siren-plugin-xxxx
> siren plugin generate
# input some plugin info,then
> cd <pluginDir>
> npm install
# then,you can modify src/index.js
> siren link # For local dev
> siren unlink # For local dev