oclif-hello-world
oclif example Hello World CLI
Usage
$ npm install -g anar
$ anar COMMAND
running command...
$ anar (--version)
anar/1.0.5 darwin-arm64 node-v16.16.0
$ anar --help [COMMAND]
USAGE
$ anar COMMAND
...
Commands
anar analytics [KEY]
command to generate analytics events
USAGE
$ anar analytics [KEY] [-b]
ARGUMENTS
KEY Key name
FLAGS
-b, --button button event
DESCRIPTION
command to generate analytics events
See code: dist/commands/analytics/index.ts
anar help [COMMAND]
Display help for anar.
USAGE
$ anar 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 anar.
See code: @oclif/plugin-help
anar locales [EN] [HING] [HI]
command to generate locales
USAGE
$ anar locales [EN] [HING] [HI] -k <value>
ARGUMENTS
EN English locale
HING Hinglish locale
HI Hindi locale
FLAGS
-k, --key=<value> (required) Name of the key to add in Locales
DESCRIPTION
command to generate locales
See code: dist/commands/locales/index.ts
anar plugins
List installed plugins.
USAGE
$ anar plugins [--core]
FLAGS
--core Show core plugins.
DESCRIPTION
List installed plugins.
EXAMPLES
$ anar plugins
See code: @oclif/plugin-plugins
anar plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ anar 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
$ anar plugins add
EXAMPLES
$ anar plugins:install myplugin
$ anar plugins:install https://github.com/someuser/someplugin
$ anar plugins:install someuser/someplugin
anar plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ anar 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
$ anar plugins:inspect myplugin
anar plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ anar 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
$ anar plugins add
EXAMPLES
$ anar plugins:install myplugin
$ anar plugins:install https://github.com/someuser/someplugin
$ anar plugins:install someuser/someplugin
anar plugins:link PLUGIN
Links a plugin into the CLI for development.
USAGE
$ anar 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
$ anar plugins:link myplugin
anar plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ anar plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ anar plugins unlink
$ anar plugins remove
anar plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ anar plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ anar plugins unlink
$ anar plugins remove
anar plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ anar plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ anar plugins unlink
$ anar plugins remove
anar plugins update
Update installed plugins.
USAGE
$ anar plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
anar screen [NAME]
command to generate a screen
USAGE
$ anar screen [NAME]
ARGUMENTS
NAME [default: Screen] Name of the screen
DESCRIPTION
command to generate a screen
See code: dist/commands/screen/index.ts
anar storage [TYPE] [NAME]
command to generate mmkv storage keys
USAGE
$ anar storage [TYPE] [NAME]
ARGUMENTS
TYPE (bool|map|string|int|array) [default: bool] Type of the key
NAME Name of the key
DESCRIPTION
command to generate mmkv storage keys
See code: dist/commands/storage/index.ts