0.0.13 • Published 1 year ago
gw-youi-cli v0.0.13
youi-cli
youi-cli
Usage
$ npm install -g gw-youi-cli
$ youi-cli COMMAND
running command...
$ youi-cli (--version)
gw-youi-cli/0.0.13 win32-x64 node-v18.13.0
$ youi-cli --help [COMMAND]
USAGE
$ youi-cli COMMAND
...
Commands
youi-cli codegen
youi-cli codegen tauri MODELPATH [TEMPLATEPATH]
youi-cli hello PERSON
youi-cli hello world
youi-cli help [COMMANDS]
youi-cli plugins
youi-cli plugins:install PLUGIN...
youi-cli plugins:inspect PLUGIN...
youi-cli plugins:install PLUGIN...
youi-cli plugins:link PLUGIN
youi-cli plugins:uninstall PLUGIN...
youi-cli plugins:uninstall PLUGIN...
youi-cli plugins:uninstall PLUGIN...
youi-cli plugins update
youi-cli codegen
USAGE
$ youi-cli codegen
See code: dist/commands/codegen/index.ts
youi-cli codegen tauri MODELPATH [TEMPLATEPATH]
生成tauri前端代码
USAGE
$ youi-cli codegen tauri MODELPATH [TEMPLATEPATH]
ARGUMENTS
MODELPATH model文件路径
TEMPLATEPATH 模板路径
DESCRIPTION
生成tauri前端代码
youi-cli gencode tauri <必须:数据模型路径> [可选:模板路径,默认使用内置模板]
EXAMPLES
$ youi-cli gencode model.yml d:\template
youi-cli hello PERSON
Say hello
USAGE
$ youi-cli hello PERSON -f <value>
ARGUMENTS
PERSON Person to say hello to
FLAGS
-f, --from=<value> (required) Who 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
youi-cli hello world
Say hello world
USAGE
$ youi-cli hello world
DESCRIPTION
Say hello world
EXAMPLES
$ youi-cli hello world
hello world! (./src/commands/hello/world.ts)
youi-cli help [COMMANDS]
Display help for youi-cli.
USAGE
$ youi-cli 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 youi-cli.
See code: @oclif/plugin-help
youi-cli plugins
List installed plugins.
USAGE
$ youi-cli plugins [--core]
FLAGS
--core Show core plugins.
DESCRIPTION
List installed plugins.
EXAMPLES
$ youi-cli plugins
See code: @oclif/plugin-plugins
youi-cli plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ youi-cli 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
$ youi-cli plugins add
EXAMPLES
$ youi-cli plugins:install myplugin
$ youi-cli plugins:install https://github.com/someuser/someplugin
$ youi-cli plugins:install someuser/someplugin
youi-cli plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ youi-cli 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
$ youi-cli plugins:inspect myplugin
youi-cli plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ youi-cli 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
$ youi-cli plugins add
EXAMPLES
$ youi-cli plugins:install myplugin
$ youi-cli plugins:install https://github.com/someuser/someplugin
$ youi-cli plugins:install someuser/someplugin
youi-cli plugins:link PLUGIN
Links a plugin into the CLI for development.
USAGE
$ youi-cli 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
$ youi-cli plugins:link myplugin
youi-cli plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ youi-cli plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ youi-cli plugins unlink
$ youi-cli plugins remove
youi-cli plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ youi-cli plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ youi-cli plugins unlink
$ youi-cli plugins remove
youi-cli plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ youi-cli plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ youi-cli plugins unlink
$ youi-cli plugins remove
youi-cli plugins update
Update installed plugins.
USAGE
$ youi-cli plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.