|
@@ -1,13 +1,9 @@
|
|
-oclif-hello-world
|
|
|
|
|
|
+@jianyu/cli
|
|
=================
|
|
=================
|
|
|
|
|
|
-oclif example Hello World CLI
|
|
|
|
|
|
+剑鱼内部脚手架
|
|
|
|
|
|
[](https://oclif.io)
|
|
[](https://oclif.io)
|
|
-[](https://npmjs.org/package/oclif-hello-world)
|
|
|
|
-[](https://circleci.com/gh/oclif/hello-world/tree/main)
|
|
|
|
-[](https://npmjs.org/package/oclif-hello-world)
|
|
|
|
-[](https://github.com/oclif/hello-world/blob/main/package.json)
|
|
|
|
|
|
|
|
<!-- toc -->
|
|
<!-- toc -->
|
|
* [Usage](#usage)
|
|
* [Usage](#usage)
|
|
@@ -20,7 +16,7 @@ $ npm install -g @jianyu/cli
|
|
$ jianyu COMMAND
|
|
$ jianyu COMMAND
|
|
running command...
|
|
running command...
|
|
$ jianyu (--version)
|
|
$ jianyu (--version)
|
|
-@jianyu/cli/0.0.0 darwin-x64 node-v16.14.2
|
|
|
|
|
|
+@jianyu/cli/0.1.0 darwin-x64 node-v16.14.2
|
|
$ jianyu --help [COMMAND]
|
|
$ jianyu --help [COMMAND]
|
|
USAGE
|
|
USAGE
|
|
$ jianyu COMMAND
|
|
$ jianyu COMMAND
|
|
@@ -29,9 +25,9 @@ USAGE
|
|
<!-- usagestop -->
|
|
<!-- usagestop -->
|
|
# Commands
|
|
# Commands
|
|
<!-- commands -->
|
|
<!-- commands -->
|
|
-* [`jianyu hello PERSON`](#jianyu-hello-person)
|
|
|
|
-* [`jianyu hello world`](#jianyu-hello-world)
|
|
|
|
|
|
+* [`jianyu create`](#jianyu-create)
|
|
* [`jianyu help [COMMAND]`](#jianyu-help-command)
|
|
* [`jianyu help [COMMAND]`](#jianyu-help-command)
|
|
|
|
+* [`jianyu init DIR`](#jianyu-init-dir)
|
|
* [`jianyu plugins`](#jianyu-plugins)
|
|
* [`jianyu plugins`](#jianyu-plugins)
|
|
* [`jianyu plugins:install PLUGIN...`](#jianyu-pluginsinstall-plugin)
|
|
* [`jianyu plugins:install PLUGIN...`](#jianyu-pluginsinstall-plugin)
|
|
* [`jianyu plugins:inspect PLUGIN...`](#jianyu-pluginsinspect-plugin)
|
|
* [`jianyu plugins:inspect PLUGIN...`](#jianyu-pluginsinspect-plugin)
|
|
@@ -41,45 +37,22 @@ USAGE
|
|
* [`jianyu plugins:uninstall PLUGIN...`](#jianyu-pluginsuninstall-plugin-1)
|
|
* [`jianyu plugins:uninstall PLUGIN...`](#jianyu-pluginsuninstall-plugin-1)
|
|
* [`jianyu plugins:uninstall PLUGIN...`](#jianyu-pluginsuninstall-plugin-2)
|
|
* [`jianyu plugins:uninstall PLUGIN...`](#jianyu-pluginsuninstall-plugin-2)
|
|
* [`jianyu plugins update`](#jianyu-plugins-update)
|
|
* [`jianyu plugins update`](#jianyu-plugins-update)
|
|
|
|
+* [`jianyu sync`](#jianyu-sync)
|
|
|
|
+* [`jianyu update [CHANNEL]`](#jianyu-update-channel)
|
|
|
|
|
|
-## `jianyu hello PERSON`
|
|
|
|
|
|
+## `jianyu create`
|
|
|
|
|
|
-Say hello
|
|
|
|
|
|
+创建项目-命令行交互式
|
|
|
|
|
|
```
|
|
```
|
|
USAGE
|
|
USAGE
|
|
- $ jianyu hello [PERSON] -f <value>
|
|
|
|
-
|
|
|
|
-ARGUMENTS
|
|
|
|
- PERSON Person to say hello to
|
|
|
|
-
|
|
|
|
-FLAGS
|
|
|
|
- -f, --from=<value> (required) Whom is saying hello
|
|
|
|
-
|
|
|
|
-DESCRIPTION
|
|
|
|
- Say hello
|
|
|
|
-
|
|
|
|
-EXAMPLES
|
|
|
|
- $ oex hello friend --from oclif
|
|
|
|
- hello friend from oclif! (./src/commands/hello/index.ts)
|
|
|
|
-```
|
|
|
|
-
|
|
|
|
-_See code: [dist/commands/hello/index.ts](https://github.com/zhangyuhan2016/jianyu-cli/blob/v0.0.0/dist/commands/hello/index.ts)_
|
|
|
|
-
|
|
|
|
-## `jianyu hello world`
|
|
|
|
-
|
|
|
|
-Say hello world
|
|
|
|
-
|
|
|
|
-```
|
|
|
|
-USAGE
|
|
|
|
- $ jianyu hello world
|
|
|
|
|
|
+ $ jianyu create
|
|
|
|
|
|
DESCRIPTION
|
|
DESCRIPTION
|
|
- Say hello world
|
|
|
|
|
|
+ 创建项目-命令行交互式
|
|
|
|
|
|
EXAMPLES
|
|
EXAMPLES
|
|
- $ oex hello world
|
|
|
|
- hello world! (./src/commands/hello/world.ts)
|
|
|
|
|
|
+ $ jianyu create
|
|
```
|
|
```
|
|
|
|
|
|
## `jianyu help [COMMAND]`
|
|
## `jianyu help [COMMAND]`
|
|
@@ -102,6 +75,28 @@ DESCRIPTION
|
|
|
|
|
|
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.10/src/commands/help.ts)_
|
|
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.10/src/commands/help.ts)_
|
|
|
|
|
|
|
|
+## `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`
|
|
## `jianyu plugins`
|
|
|
|
|
|
List installed plugins.
|
|
List installed plugins.
|
|
@@ -331,4 +326,56 @@ FLAGS
|
|
DESCRIPTION
|
|
DESCRIPTION
|
|
Update installed plugins.
|
|
Update installed plugins.
|
|
```
|
|
```
|
|
|
|
+
|
|
|
|
+## `jianyu sync`
|
|
|
|
+
|
|
|
|
+同步到物料平台(内网注册表)
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+USAGE
|
|
|
|
+ $ jianyu sync
|
|
|
|
+
|
|
|
|
+DESCRIPTION
|
|
|
|
+ 同步到物料平台(内网注册表)
|
|
|
|
+
|
|
|
|
+EXAMPLES
|
|
|
|
+ $ jianyu sync
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+## `jianyu update [CHANNEL]`
|
|
|
|
+
|
|
|
|
+update the jianyu CLI
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+USAGE
|
|
|
|
+ $ jianyu update [CHANNEL] [-a] [-v <value> | -i] [--force]
|
|
|
|
+
|
|
|
|
+FLAGS
|
|
|
|
+ -a, --available Install a specific version.
|
|
|
|
+ -i, --interactive Interactively select version to install. This is ignored if a channel is provided.
|
|
|
|
+ -v, --version=<value> Install a specific version.
|
|
|
|
+ --force Force a re-download of the requested version.
|
|
|
|
+
|
|
|
|
+DESCRIPTION
|
|
|
|
+ update the jianyu CLI
|
|
|
|
+
|
|
|
|
+EXAMPLES
|
|
|
|
+ Update to the stable channel:
|
|
|
|
+
|
|
|
|
+ $ jianyu update stable
|
|
|
|
+
|
|
|
|
+ Update to a specific version:
|
|
|
|
+
|
|
|
|
+ $ jianyu update --version 1.0.0
|
|
|
|
+
|
|
|
|
+ Interactively select version:
|
|
|
|
+
|
|
|
|
+ $ jianyu update --interactive
|
|
|
|
+
|
|
|
|
+ See available versions:
|
|
|
|
+
|
|
|
|
+ $ jianyu update --available
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v3.0.0/src/commands/update.ts)_
|
|
<!-- commandsstop -->
|
|
<!-- commandsstop -->
|