jonesy-cli
v0.0.1
Published
A new CLI generated with oclif
Readme
mynewcli
A new CLI generated with oclif
Usage
$ npm install -g jonesy-cli
$ jonesy COMMAND
running command...
$ jonesy (--version)
jonesy-cli/0.0.1 darwin-arm64 node-v20.15.1
$ jonesy --help [COMMAND]
USAGE
$ jonesy COMMAND
...Commands
jonesy <COMMAND>jonesy api worldjonesy hello PERSONjonesy hello worldjonesy help [COMMAND]jonesy pluginsjonesy plugins add PLUGINjonesy plugins:inspect PLUGIN...jonesy plugins install PLUGINjonesy plugins link PATHjonesy plugins remove [PLUGIN]jonesy plugins resetjonesy plugins uninstall [PLUGIN]jonesy plugins unlink [PLUGIN]jonesy plugins update
jonesy <COMMAND>
Api 客户端请求代码生成命令的集合
USAGE
$ jonesy api <COMMAND>
DESCRIPTION
Api 客户端请求代码生成命令的集合
EXAMPLES
test api generatejonesy api world
Say api world
USAGE
$ jonesy api world
DESCRIPTION
Say api world
EXAMPLES
$ jonesy api world
api world! (./src/commands/api/world.ts)jonesy hello PERSON
Say hello
USAGE
$ jonesy hello PERSON -f <value>
ARGUMENTS
PERSON Person to say hello to
FLAGS
-f, --from=<value> (required) Who is saying hello
DESCRIPTION
Say hello
EXAMPLES
$ jonesy hello friend --from oclif
hello friend from oclif! (./src/commands/hello/index.ts)jonesy hello world
Say hello world
USAGE
$ jonesy hello world
DESCRIPTION
Say hello world
EXAMPLES
$ jonesy hello world
hello world! (./src/commands/hello/world.ts)jonesy help [COMMAND]
Display help for jonesy.
USAGE
$ jonesy 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 jonesy.See code: @oclif/plugin-help
jonesy plugins
List installed plugins.
USAGE
$ jonesy plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ jonesy pluginsSee code: @oclif/plugin-plugins
jonesy plugins add PLUGIN
Installs a plugin into jonesy.
USAGE
$ jonesy plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into jonesy.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the JONESY_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the JONESY_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ jonesy plugins add
EXAMPLES
Install a plugin from npm registry.
$ jonesy plugins add myplugin
Install a plugin from a github url.
$ jonesy plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ jonesy plugins add someuser/somepluginjonesy plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ jonesy 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
$ jonesy plugins inspect mypluginSee code: @oclif/plugin-plugins
jonesy plugins install PLUGIN
Installs a plugin into jonesy.
USAGE
$ jonesy plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into jonesy.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the JONESY_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the JONESY_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ jonesy plugins add
EXAMPLES
Install a plugin from npm registry.
$ jonesy plugins install myplugin
Install a plugin from a github url.
$ jonesy plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ jonesy plugins install someuser/somepluginSee code: @oclif/plugin-plugins
jonesy plugins link PATH
Links a plugin into the CLI for development.
USAGE
$ jonesy plugins link PATH [-h] [--install] [-v]
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
--[no-]install Install dependencies after linking the plugin.
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
$ jonesy plugins link mypluginSee code: @oclif/plugin-plugins
jonesy plugins remove [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ jonesy plugins remove [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ jonesy plugins unlink
$ jonesy plugins remove
EXAMPLES
$ jonesy plugins remove mypluginjonesy plugins reset
Remove all user-installed and linked plugins.
USAGE
$ jonesy plugins reset [--hard] [--reinstall]
FLAGS
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
--reinstall Reinstall all plugins after uninstalling.See code: @oclif/plugin-plugins
jonesy plugins uninstall [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ jonesy plugins uninstall [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ jonesy plugins unlink
$ jonesy plugins remove
EXAMPLES
$ jonesy plugins uninstall mypluginSee code: @oclif/plugin-plugins
jonesy plugins unlink [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ jonesy plugins unlink [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ jonesy plugins unlink
$ jonesy plugins remove
EXAMPLES
$ jonesy plugins unlink mypluginjonesy plugins update
Update installed plugins.
USAGE
$ jonesy plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.See code: @oclif/plugin-plugins
