nlxcli v0.2.1
oclif-hello-world
oclif example Hello World CLI
Usage
$ npm install -g nlxcli
$ nlx COMMAND
running command...
$ nlx (--version)
nlxcli/0.2.1 darwin-x64 node-v16.14.0
$ nlx --help [COMMAND]
USAGE
$ nlx COMMAND
...
Commands
nlx cms [FILE]
nlx cms auth
nlx cms crud
nlx cms install [PROJECT_NAME]
nlx cms m
nlx cms m-crud
nlx cms m-make TYPE MODULE NAME
nlx cms t
nlx cms t-make TYPE THEME NAME
nlx hello PERSON
nlx hello world
nlx help [COMMAND]
nlx plugins
nlx plugins:install PLUGIN...
nlx plugins:inspect PLUGIN...
nlx plugins:install PLUGIN...
nlx plugins:link PLUGIN
nlx plugins:uninstall PLUGIN...
nlx plugins:uninstall PLUGIN...
nlx plugins:uninstall PLUGIN...
nlx plugins update
nlx cms [FILE]
describe the command here
USAGE
$ nlx cms [FILE] [-n <value>] [-f]
FLAGS
-f, --force
-n, --name=<value> name to print
DESCRIPTION
describe the command here
EXAMPLES
$ nlx cms
See code: src/commands/cms.ts
nlx cms auth
Generate CRUD operations for NlxCMS
USAGE
$ nlx cms auth [--help]
FLAGS
--help Generate Auth operation for NlxCMS Themes
DESCRIPTION
Generate CRUD operations for NlxCMS
nlx cms crud
Generate CRUD operations for NlxCMS
USAGE
$ nlx cms crud [--help]
FLAGS
--help Generate CRUD operation for NlxCMS
DESCRIPTION
Generate CRUD operations for NlxCMS
nlx cms install [PROJECT_NAME]
Install NlxCMS
USAGE
$ nlx cms install [PROJECT_NAME] [--here] [-h]
ARGUMENTS
PROJECT_NAME [default: nlxcms] Enter the project folder name
FLAGS
-h, --help Show CLI help.
--here If you want to install NlxCMS in current directory
DESCRIPTION
Install NlxCMS
nlx cms m
To generate module for NlxCMS
USAGE
$ nlx cms m [-h] [-n] [-f]
FLAGS
-f, --force
-h, --help Show CLI help.
-n, --name Show CLI help.
DESCRIPTION
To generate module for NlxCMS
nlx cms m-crud
To generate CRUD operations for NlxCMS Module
USAGE
$ nlx cms m-crud [-h] [-n] [-f]
FLAGS
-f, --force
-h, --help Show CLI help.
-n, --name Show CLI help.
DESCRIPTION
To generate CRUD operations for NlxCMS Module
nlx cms m-make TYPE MODULE NAME
Generate for NlxCMS Module
USAGE
$ nlx cms m-make [TYPE] [MODULE] [NAME] [-f] [-b] [-h] [-n]
FLAGS
-b, --backend
-f, --frontend
-h, --help Show CLI help.
-n, --name Show CLI help.
DESCRIPTION
Generate for NlxCMS Module
nlx cms t
To generate theme for NlxCMS
USAGE
$ nlx cms t [-h] [-n] [-f]
FLAGS
-f, --force
-h, --help Show CLI help.
-n, --name Show CLI help.
DESCRIPTION
To generate theme for NlxCMS
nlx cms t-make TYPE THEME NAME
Generate for NlxCMS Theme
USAGE
$ nlx cms t-make [TYPE] [THEME] [NAME] [-f] [-b] [-h] [-n]
FLAGS
-b, --backend
-f, --frontend
-h, --help Show CLI help.
-n, --name Show CLI help.
DESCRIPTION
Generate for NlxCMS Theme
nlx hello PERSON
Say hello
USAGE
$ nlx hello [PERSON] -f <value>
ARGUMENTS
PERSON Person to say hello to
FLAGS
-f, --from=<value> (required) Whom is saying hello
DESCRIPTION
Say hello
EXAMPLES
$ oex hello friend --from oclif
hello friend from oclif! (./src/commands/hello/index.ts)
See code: src/commands/hello/index.ts
nlx hello world
Say hello world
USAGE
$ nlx hello world
DESCRIPTION
Say hello world
EXAMPLES
$ oex hello world
hello world! (./src/commands/hello/world.ts)
nlx help [COMMAND]
Display help for nlx.
USAGE
$ nlx 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 nlx.
See code: @oclif/plugin-help
nlx plugins
List installed plugins.
USAGE
$ nlx plugins [--core]
FLAGS
--core Show core plugins.
DESCRIPTION
List installed plugins.
EXAMPLES
$ nlx plugins
See code: @oclif/plugin-plugins
nlx plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ nlx 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
$ nlx plugins add
EXAMPLES
$ nlx plugins:install myplugin
$ nlx plugins:install https://github.com/someuser/someplugin
$ nlx plugins:install someuser/someplugin
nlx plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ nlx 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
$ nlx plugins:inspect myplugin
nlx plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ nlx 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
$ nlx plugins add
EXAMPLES
$ nlx plugins:install myplugin
$ nlx plugins:install https://github.com/someuser/someplugin
$ nlx plugins:install someuser/someplugin
nlx plugins:link PLUGIN
Links a plugin into the CLI for development.
USAGE
$ nlx 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
$ nlx plugins:link myplugin
nlx plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ nlx plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ nlx plugins unlink
$ nlx plugins remove
nlx plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ nlx plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ nlx plugins unlink
$ nlx plugins remove
nlx plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ nlx plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ nlx plugins unlink
$ nlx plugins remove
nlx plugins update
Update installed plugins.
USAGE
$ nlx plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago