poirot-cli
v0.0.15
Published
Analyze the scope of the impact of git changes
Downloads
3
Readme
oclif-hello-world
oclif example Hello World CLI
Usage
$ npm install -g poirot-cli
$ poirot COMMAND
running command...
$ poirot (--version)
poirot-cli/0.0.14 darwin-x64 node-v18.18.2
$ poirot --help [COMMAND]
USAGE
$ poirot COMMAND
...
Commands
poirot depend
poirot diff
poirot help [COMMANDS]
poirot plugins
poirot plugins:install PLUGIN...
poirot plugins:inspect PLUGIN...
poirot plugins:install PLUGIN...
poirot plugins:link PLUGIN
poirot plugins:uninstall PLUGIN...
poirot plugins:uninstall PLUGIN...
poirot plugins:uninstall PLUGIN...
poirot plugins update
poirot run
poirot depend
执行项目依赖分析
USAGE
$ poirot depend
DESCRIPTION
执行项目依赖分析
EXAMPLES
$ poirot depend
See code: src/commands/depend/index.ts
poirot diff
执行git变更依赖分析
USAGE
$ poirot diff
DESCRIPTION
执行git变更依赖分析
EXAMPLES
$ poirot diff
See code: src/commands/diff/index.ts
poirot help [COMMANDS]
Display help for poirot.
USAGE
$ poirot 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 poirot.
See code: @oclif/plugin-help
poirot plugins
List installed plugins.
USAGE
$ poirot plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ poirot plugins
See code: @oclif/plugin-plugins
poirot plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ poirot plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-s, --silent Silences yarn output.
-v, --verbose Show verbose yarn output.
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
$ poirot plugins add
EXAMPLES
$ poirot plugins:install myplugin
$ poirot plugins:install https://github.com/someuser/someplugin
$ poirot plugins:install someuser/someplugin
poirot plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ poirot 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
$ poirot plugins:inspect myplugin
See code: @oclif/plugin-plugins
poirot plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ poirot plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-s, --silent Silences yarn output.
-v, --verbose Show verbose yarn output.
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
$ poirot plugins add
EXAMPLES
$ poirot plugins:install myplugin
$ poirot plugins:install https://github.com/someuser/someplugin
$ poirot plugins:install someuser/someplugin
See code: @oclif/plugin-plugins
poirot plugins:link PLUGIN
Links a plugin into the CLI for development.
USAGE
$ poirot plugins:link PLUGIN
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
$ poirot plugins:link myplugin
See code: @oclif/plugin-plugins
poirot plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ poirot plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ poirot plugins unlink
$ poirot plugins remove
poirot plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ poirot plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ poirot plugins unlink
$ poirot plugins remove
See code: @oclif/plugin-plugins
poirot plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ poirot plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ poirot plugins unlink
$ poirot plugins remove
poirot plugins update
Update installed plugins.
USAGE
$ poirot plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
See code: @oclif/plugin-plugins
poirot run
执行git变更依赖分析
USAGE
$ poirot run
DESCRIPTION
执行git变更依赖分析
EXAMPLES
$ poirot run
See code: src/commands/run/index.ts