My new CLI
$ npm install -g @rezakalfane/mynewcli
$ mynewcli COMMAND
running command...
$ mynewcli (-v|--version|version)
@rezakalfane/mynewcli/1.0.0 darwin-x64 node-v14.15.0
$ mynewcli --help [COMMAND]
USAGE
$ mynewcli COMMAND
...
mynewcli hello [FILE]
mynewcli help [COMMAND]
mynewcli plugins
mynewcli plugins:install PLUGIN...
mynewcli plugins:link PLUGIN
mynewcli plugins:uninstall PLUGIN...
mynewcli plugins:update
mynewcli world [FILE]
describe the command here
USAGE
$ mynewcli hello [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
EXAMPLE
$ mynewcli hello
hello world from ./src/hello.ts!
See code: src/commands/hello.ts
display help for mynewcli
USAGE
$ mynewcli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
list installed plugins
USAGE
$ mynewcli plugins
OPTIONS
--core show core plugins
EXAMPLE
$ mynewcli plugins
See code: @oclif/plugin-plugins
installs a plugin into the CLI
USAGE
$ mynewcli plugins:install PLUGIN...
ARGUMENTS
PLUGIN plugin to install
OPTIONS
-f, --force yarn install with force flag
-h, --help show CLI help
-v, --verbose
DESCRIPTION
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
$ mynewcli plugins:add
EXAMPLES
$ mynewcli plugins:install myplugin
$ mynewcli plugins:install https://github.com/someuser/someplugin
$ mynewcli plugins:install someuser/someplugin
See code: @oclif/plugin-plugins
links a plugin into the CLI for development
USAGE
$ mynewcli plugins:link PLUGIN
ARGUMENTS
PATH [default: .] path to plugin
OPTIONS
-h, --help show CLI help
-v, --verbose
DESCRIPTION
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.
EXAMPLE
$ mynewcli plugins:link myplugin
See code: @oclif/plugin-plugins
removes a plugin from the CLI
USAGE
$ mynewcli plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
OPTIONS
-h, --help show CLI help
-v, --verbose
ALIASES
$ mynewcli plugins:unlink
$ mynewcli plugins:remove
See code: @oclif/plugin-plugins
update installed plugins
USAGE
$ mynewcli plugins:update
OPTIONS
-h, --help show CLI help
-v, --verbose
See code: @oclif/plugin-plugins
describe the command here
USAGE
$ mynewcli world [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
EXAMPLE
$ mynewcli world
hello world from ./src/world.ts!
See code: src/commands/world.ts