0.1.20 • Published 2 years ago
generator-abc v0.1.20
oclif-hello-world
oclif example Hello World CLI
Usage
$ npm install -g generator-abc
$ generator-abc COMMAND
running command...
$ generator-abc (--version)
generator-abc/2.0.0-alpha-2022100801 darwin-arm64 node-v16.15.1
$ generator-abc --help [COMMAND]
USAGE
$ generator-abc COMMAND
...
Commands
generator-abc help [COMMAND]
generator-abc init [NAME]
generator-abc plugins
generator-abc plugins:install PLUGIN...
generator-abc plugins:inspect PLUGIN...
generator-abc plugins:install PLUGIN...
generator-abc plugins:link PLUGIN
generator-abc plugins:uninstall PLUGIN...
generator-abc plugins:uninstall PLUGIN...
generator-abc plugins:uninstall PLUGIN...
generator-abc plugins update
generator-abc show
generator-abc help [COMMAND]
Display help for generator-abc.
USAGE
$ generator-abc help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for generator-abc.
See code: @oclif/plugin-help
generator-abc init [NAME]
初始化项目结构
USAGE
$ generator-abc init [NAME]
DESCRIPTION
初始化项目结构
EXAMPLES
$ generator-abc init
See code: dist/commands/init.ts
generator-abc plugins
List installed plugins.
USAGE
$ generator-abc plugins [--core]
FLAGS
--core Show core plugins.
DESCRIPTION
List installed plugins.
EXAMPLES
$ generator-abc plugins
See code: @oclif/plugin-plugins
generator-abc plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ generator-abc 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
$ generator-abc plugins add
EXAMPLES
$ generator-abc plugins:install myplugin
$ generator-abc plugins:install https://github.com/someuser/someplugin
$ generator-abc plugins:install someuser/someplugin
generator-abc plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ generator-abc plugins:inspect PLUGIN...
ARGUMENTS
PLUGIN [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ generator-abc plugins:inspect myplugin
generator-abc plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ generator-abc 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
$ generator-abc plugins add
EXAMPLES
$ generator-abc plugins:install myplugin
$ generator-abc plugins:install https://github.com/someuser/someplugin
$ generator-abc plugins:install someuser/someplugin
generator-abc plugins:link PLUGIN
Links a plugin into the CLI for development.
USAGE
$ generator-abc 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
$ generator-abc plugins:link myplugin
generator-abc plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ generator-abc plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ generator-abc plugins unlink
$ generator-abc plugins remove
generator-abc plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ generator-abc plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ generator-abc plugins unlink
$ generator-abc plugins remove
generator-abc plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ generator-abc plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ generator-abc plugins unlink
$ generator-abc plugins remove
generator-abc plugins update
Update installed plugins.
USAGE
$ generator-abc plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
generator-abc show
显示可用的模板
USAGE
$ generator-abc show
DESCRIPTION
显示可用的模板
EXAMPLES
$ generator-abc show
See code: dist/commands/show.ts
2.0.0-alpha-2022100802
2 years ago
2.0.0-alpha-2022100801
2 years ago
0.1.20
3 years ago
0.1.19
5 years ago
0.1.18
5 years ago
0.1.17
5 years ago
0.1.16
5 years ago
0.1.15
5 years ago
0.1.14
5 years ago
0.1.13
5 years ago
0.1.12
5 years ago
0.1.11
5 years ago
0.1.10
5 years ago
0.1.8
6 years ago
0.1.6
6 years ago
0.1.5
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago