cli-poc
v0.0.6
Published
poc for template cli and organization in monorepo
Downloads
9
Readme
oclif-hello-world
oclif example Hello World CLI
Usage
$ npm install -g cli-poc
$ cli-poc COMMAND
running command...
$ cli-poc (--version)
cli-poc/0.0.6 darwin-arm64 node-v21.2.0
$ cli-poc --help [COMMAND]
USAGE
$ cli-poc COMMAND
...
Commands
cli-poc create-app [PROJECTNAME]
cli-poc help [COMMANDS]
cli-poc plugins
cli-poc plugins:install PLUGIN...
cli-poc plugins:inspect PLUGIN...
cli-poc plugins:install PLUGIN...
cli-poc plugins:link PLUGIN
cli-poc plugins:uninstall PLUGIN...
cli-poc plugins reset
cli-poc plugins:uninstall PLUGIN...
cli-poc plugins:uninstall PLUGIN...
cli-poc plugins update
cli-poc create-app [PROJECTNAME]
Create a new Myclienteling app
USAGE
$ cli-poc create-app [PROJECTNAME] [-w tkq|tw|zd|rx|tkq-tw|tkq-zd|tkq-rx|tw-zd|tw-rx|tkq-tw-zd|tkq-tw-rx -t
ts|js]
ARGUMENTS
PROJECTNAME project name
CONFIG FLAGS
-t, --template=<option> template to use as ts or js
<options: ts|js>
-w, --with=<option> with config
<options: tkq|tw|zd|rx|tkq-tw|tkq-zd|tkq-rx|tw-zd|tw-rx|tkq-tw-zd|tkq-tw-rx>
DESCRIPTION
Create a new Myclienteling app
EXAMPLES
$ cli-poc create-app
FLAG DESCRIPTIONS
-w, --with=tkq|tw|zd|rx|tkq-tw|tkq-zd|tkq-rx|tw-zd|tw-rx|tkq-tw-zd|tkq-tw-rx with config
You can choose many different config like zustand, tailwind, tanstack, etc.
See code: src/commands/create-app.ts
cli-poc help [COMMANDS]
Display help for cli-poc.
USAGE
$ cli-poc 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 cli-poc.
See code: @oclif/plugin-help
cli-poc plugins
List installed plugins.
USAGE
$ cli-poc plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ cli-poc plugins
See code: @oclif/plugin-plugins
cli-poc plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ cli-poc plugins add 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.
GLOBAL FLAGS
--json Format output as json.
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
$ cli-poc plugins add
EXAMPLES
$ cli-poc plugins add myplugin
$ cli-poc plugins add https://github.com/someuser/someplugin
$ cli-poc plugins add someuser/someplugin
cli-poc plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ cli-poc 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
$ cli-poc plugins inspect myplugin
See code: @oclif/plugin-plugins
cli-poc plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ cli-poc 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.
GLOBAL FLAGS
--json Format output as json.
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
$ cli-poc plugins add
EXAMPLES
$ cli-poc plugins install myplugin
$ cli-poc plugins install https://github.com/someuser/someplugin
$ cli-poc plugins install someuser/someplugin
See code: @oclif/plugin-plugins
cli-poc plugins:link PLUGIN
Links a plugin into the CLI for development.
USAGE
$ cli-poc 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
$ cli-poc plugins link myplugin
See code: @oclif/plugin-plugins
cli-poc plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ cli-poc plugins remove plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ cli-poc plugins unlink
$ cli-poc plugins remove
EXAMPLES
$ cli-poc plugins remove myplugin
cli-poc plugins reset
Remove all user-installed and linked plugins.
USAGE
$ cli-poc plugins reset
See code: @oclif/plugin-plugins
cli-poc plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ cli-poc plugins uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ cli-poc plugins unlink
$ cli-poc plugins remove
EXAMPLES
$ cli-poc plugins uninstall myplugin
See code: @oclif/plugin-plugins
cli-poc plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ cli-poc plugins unlink plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ cli-poc plugins unlink
$ cli-poc plugins remove
EXAMPLES
$ cli-poc plugins unlink myplugin
cli-poc plugins update
Update installed plugins.
USAGE
$ cli-poc plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
See code: @oclif/plugin-plugins