|
2 лет назад | |
---|---|---|
bin | 2 лет назад | |
src | 2 лет назад | |
test | 2 лет назад | |
.editorconfig | 3 лет назад | |
.eslintignore | 3 лет назад | |
.eslintrc | 3 лет назад | |
.gitignore | 2 лет назад | |
.mocharc.json | 3 лет назад | |
.npmrc | 2 лет назад | |
.template.json | 3 лет назад | |
LICENSE | 3 лет назад | |
README.md | 2 лет назад | |
package.json | 2 лет назад | |
tsconfig.json | 3 лет назад | |
yarn.lock | 2 лет назад |
剑鱼内部脚手架
$ npm install -g @jianyu/cli --registry http://192.168.3.207:4873/
$ jianyu COMMAND
running command...
$ jianyu (--version)
@jianyu/cli/0.2.4 darwin-x64 node-v16.18.1
$ jianyu --help [COMMAND]
USAGE
$ jianyu COMMAND
...
jianyu create
创建项目-命令行交互式
USAGE
$ jianyu create
DESCRIPTION
创建项目-命令行交互式
EXAMPLES
$ jianyu create
jianyu cz
git 提交规范 - 交互式
USAGE
$ jianyu cz
DESCRIPTION
git 提交规范 - 交互式
EXAMPLES
$ jianyu cz
jianyu help [COMMANDS]
Display help for jianyu.
USAGE
$ jianyu help [COMMANDS] [-n]
ARGUMENTS
COMMANDS Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for jianyu.
See code: @oclif/plugin-help
jianyu init DIR
初始化项目
USAGE
$ jianyu init DIR -f <value>
ARGUMENTS
DIR 目录名,同时用于项目名
FLAGS
-f, --from=<value> (required) 指定拉取模版的名称
DESCRIPTION
初始化项目
EXAMPLES
$ jianyu init new-dir --from component
创建目录并拉取指定模版初始化项目
jianyu plugins
List installed plugins.
USAGE
$ jianyu plugins [--core]
FLAGS
--core Show core plugins.
DESCRIPTION
List installed plugins.
EXAMPLES
$ jianyu plugins
See code: @oclif/plugin-plugins
jianyu plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ jianyu plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ jianyu plugins:add
EXAMPLES
$ jianyu plugins:install myplugin
$ jianyu plugins:install https://github.com/someuser/someplugin
$ jianyu plugins:install someuser/someplugin
jianyu plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ jianyu plugins:inspect PLUGIN...
ARGUMENTS
PLUGIN [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ jianyu plugins:inspect myplugin
See code: @oclif/plugin-plugins
jianyu plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ jianyu plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ jianyu plugins:add
EXAMPLES
$ jianyu plugins:install myplugin
$ jianyu plugins:install https://github.com/someuser/someplugin
$ jianyu plugins:install someuser/someplugin
See code: @oclif/plugin-plugins
jianyu plugins:link PLUGIN
Links a plugin into the CLI for development.
USAGE
$ jianyu plugins:link PLUGIN
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLES
$ jianyu plugins:link myplugin
See code: @oclif/plugin-plugins
jianyu plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ jianyu plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ jianyu plugins:unlink
$ jianyu plugins:remove
jianyu plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ jianyu plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ jianyu plugins:unlink
$ jianyu plugins:remove
See code: @oclif/plugin-plugins
jianyu plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ jianyu plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ jianyu plugins:unlink
$ jianyu plugins:remove
jianyu plugins:update
Update installed plugins.
USAGE
$ jianyu plugins:update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
See code: @oclif/plugin-plugins
jianyu sync
同步到物料平台(内网注册表)
USAGE
$ jianyu sync
DESCRIPTION
同步到物料平台(内网注册表)
EXAMPLES
$ jianyu sync