@lars-plate/delta-cli
v0.2.4
Published
A command line interface to interact with the Plate Delta CMS
Readme
delta-cli
A command line interface to interact with the Plate Delta CMS
Usage
$ npm install -g @lars-plate/delta-cli
$ delta COMMAND
running command...
$ delta (--version)
@lars-plate/delta-cli/0.2.4 win32-x64 node-v22.13.1
$ delta --help [COMMAND]
USAGE
$ delta COMMAND
...Commands
delta auth logindelta help [COMMAND]delta logindelta pluginsdelta plugins add PLUGINdelta plugins:inspect PLUGIN...delta plugins install PLUGINdelta plugins link PATHdelta plugins remove [PLUGIN]delta plugins resetdelta plugins uninstall [PLUGIN]delta plugins unlink [PLUGIN]delta plugins updatedelta theme initdelta theme sync
delta auth login
describe the command here
USAGE
$ delta auth login [--json] [--log-level debug|warn|error|info|trace] [--environment acc|dev|local|prod]
[--token <value>]
FLAGS
--environment=<option> [default: prod] environment to authenticate
<options: acc|dev|local|prod>
--token=<value> token to authenticate
GLOBAL FLAGS
--json Format output as json.
--log-level=<option> [default: info] Specify level for logging.
<options: debug|warn|error|info|trace>
DESCRIPTION
describe the command here
ALIASES
$ delta auth login
$ delta login
EXAMPLES
$ delta auth loginSee code: src/commands/auth/login.ts
delta help [COMMAND]
Display help for delta.
USAGE
$ delta 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 delta.See code: @oclif/plugin-help
delta login
describe the command here
USAGE
$ delta login [--json] [--log-level debug|warn|error|info|trace] [--environment acc|dev|local|prod]
[--token <value>]
FLAGS
--environment=<option> [default: prod] environment to authenticate
<options: acc|dev|local|prod>
--token=<value> token to authenticate
GLOBAL FLAGS
--json Format output as json.
--log-level=<option> [default: info] Specify level for logging.
<options: debug|warn|error|info|trace>
DESCRIPTION
describe the command here
ALIASES
$ delta auth login
$ delta login
EXAMPLES
$ delta logindelta plugins
List installed plugins.
USAGE
$ delta plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ delta pluginsSee code: @oclif/plugin-plugins
delta plugins add PLUGIN
Installs a plugin into delta.
USAGE
$ delta 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 delta.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the DELTA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the DELTA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ delta plugins add
EXAMPLES
Install a plugin from npm registry.
$ delta plugins add myplugin
Install a plugin from a github url.
$ delta plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ delta plugins add someuser/someplugindelta plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ delta 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
$ delta plugins inspect mypluginSee code: @oclif/plugin-plugins
delta plugins install PLUGIN
Installs a plugin into delta.
USAGE
$ delta 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 delta.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the DELTA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the DELTA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ delta plugins add
EXAMPLES
Install a plugin from npm registry.
$ delta plugins install myplugin
Install a plugin from a github url.
$ delta plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ delta plugins install someuser/somepluginSee code: @oclif/plugin-plugins
delta plugins link PATH
Links a plugin into the CLI for development.
USAGE
$ delta 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
$ delta plugins link mypluginSee code: @oclif/plugin-plugins
delta plugins remove [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ delta 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
$ delta plugins unlink
$ delta plugins remove
EXAMPLES
$ delta plugins remove myplugindelta plugins reset
Remove all user-installed and linked plugins.
USAGE
$ delta 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
delta plugins uninstall [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ delta 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
$ delta plugins unlink
$ delta plugins remove
EXAMPLES
$ delta plugins uninstall mypluginSee code: @oclif/plugin-plugins
delta plugins unlink [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ delta 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
$ delta plugins unlink
$ delta plugins remove
EXAMPLES
$ delta plugins unlink myplugindelta plugins update
Update installed plugins.
USAGE
$ delta plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.See code: @oclif/plugin-plugins
delta theme init
Initialize a new theme
USAGE
$ delta theme init [--json] [--log-level debug|warn|error|info|trace] [--force] [--path <value>]
FLAGS
--force Force initialize the theme
--path=<value> Path to initialize the theme
GLOBAL FLAGS
--json Format output as json.
--log-level=<option> [default: info] Specify level for logging.
<options: debug|warn|error|info|trace>
DESCRIPTION
Initialize a new theme
EXAMPLES
$ delta theme initSee code: src/commands/theme/init.ts
delta theme sync
Sync the theme
USAGE
$ delta theme sync [--json] [--log-level debug|warn|error|info|trace] [--force] [--path <value>]
FLAGS
--force Force sync the theme
--path=<value> Path to sync the theme
GLOBAL FLAGS
--json Format output as json.
--log-level=<option> [default: info] Specify level for logging.
<options: debug|warn|error|info|trace>
DESCRIPTION
Sync the theme
EXAMPLES
$ delta theme syncSee code: src/commands/theme/sync.ts
