UNPKG

itoolbox-cli

Version:

iToolBox CLI 工具,用于创建扩展,打包扩展.

72 lines (51 loc) 1.24 kB
# iToolBox-Cli iToolBox CLI tool. Used to create, configure, and package extension projects. ## Command ### Install CLI Tool ```shell # npm global install > npm i itoolbox-cli -g # cnpm global install > cnpm i itoolbox-cli -g # yarn global install > yarn global add itoolbox-cli ``` ### View Verison View the cli version. ```shell # view viesion > itoolbox -v # or > itoolbox --version ``` ### View Help Information View help information. ```shell # view help > itoolbox --help ``` ### Create A New Project By Template Downlad template and config. ```shell # create project by template > itoolbox -n # or > itoolbox --new ``` ### Config Extension Information This command is mainly used to configure extension information for non-template projects, and is not required to automate configuration information if template generation is used. You can use this command config any project. If create project by template, you alse can use this command change extension information. ```shell # config extension information > itoolbox -c # or > itoolbox --config ``` ### Pack Extension Generate extension files, package files in 'dist' directory, and generate 'zip' zip. ```shell # pack > itoolbox -p # or > itoolbox --pack ```