@cloudiva.net/cli
v0.8.11
Published
Cloudiva Cli for PaaS Services
Maintainers
Readme
diva cli
Usage
$ npm install -g @cloudiva.net/cli
$ diva COMMAND
running command...
$ diva (--version|-v)
@cloudiva.net/cli/0.8.11 darwin-arm64 node-v20.13.1
$ diva --help [COMMAND]
USAGE
$ diva COMMAND
...Commands
diva account listdiva account removediva account usediva autocomplete [SHELL]diva deploydiva help [COMMAND]diva logindiva pluginsdiva plugins add PLUGINdiva plugins:inspect PLUGIN...diva plugins install PLUGINdiva plugins link PATHdiva plugins remove [PLUGIN]diva plugins resetdiva plugins uninstall [PLUGIN]diva plugins unlink [PLUGIN]diva plugins updatediva service listdiva service logsdiva service resizediva service restartdiva service startdiva service stopdiva version
diva account list
show accounts list
USAGE
$ diva account list [-h]
FLAGS
-h, --help Show CLI help.
DESCRIPTION
show accounts listSee code: src/commands/account/list.ts
diva account remove
remove account from list
USAGE
$ diva account remove [-h]
FLAGS
-h, --help Show CLI help.
DESCRIPTION
remove account from listSee code: src/commands/account/remove.ts
diva account use
switch your default user between logged in users
USAGE
$ diva account use [-h] [-u <value>]
FLAGS
-h, --help Show CLI help.
-u, --user=<value> default user
DESCRIPTION
switch your default user between logged in usersSee code: src/commands/account/use.ts
diva autocomplete [SHELL]
Display autocomplete installation instructions.
USAGE
$ diva autocomplete [SHELL] [-r]
ARGUMENTS
SHELL (zsh|bash|powershell) Shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
Display autocomplete installation instructions.
EXAMPLES
$ diva autocomplete
$ diva autocomplete bash
$ diva autocomplete zsh
$ diva autocomplete powershell
$ diva autocomplete --refresh-cacheSee code: @oclif/plugin-autocomplete
diva deploy
this command help you build and deploy your service to cloudiva in easy way.
USAGE
$ diva deploy [-h] [-p <value>] [-s <value>]
FLAGS
-h, --help Show CLI help.
-p, --path=<value> service path in your computer
-s, --service=<value> service name
DESCRIPTION
this command help you build and deploy your service to cloudiva in easy way.See code: src/commands/deploy.ts
diva help [COMMAND]
Display help for diva.
USAGE
$ diva 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 diva.See code: @oclif/plugin-help
diva login
login to account
USAGE
$ diva login [-h] [-u <value>] [-p <value>] [-t <value>]
FLAGS
-h, --help Show CLI help.
-p, --password=<value> your password
-t, --token=<value> login with api token
-u, --username=<value> your username
DESCRIPTION
login to accountSee code: src/commands/login.ts
diva plugins
List installed plugins.
USAGE
$ diva plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ diva pluginsSee code: @oclif/plugin-plugins
diva plugins add PLUGIN
Installs a plugin into diva.
USAGE
$ diva 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 diva.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the DIVA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the DIVA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ diva plugins add
EXAMPLES
Install a plugin from npm registry.
$ diva plugins add myplugin
Install a plugin from a github url.
$ diva plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ diva plugins add someuser/someplugindiva plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ diva 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
$ diva plugins inspect mypluginSee code: @oclif/plugin-plugins
diva plugins install PLUGIN
Installs a plugin into diva.
USAGE
$ diva 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 diva.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the DIVA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the DIVA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ diva plugins add
EXAMPLES
Install a plugin from npm registry.
$ diva plugins install myplugin
Install a plugin from a github url.
$ diva plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ diva plugins install someuser/somepluginSee code: @oclif/plugin-plugins
diva plugins link PATH
Links a plugin into the CLI for development.
USAGE
$ diva 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
$ diva plugins link mypluginSee code: @oclif/plugin-plugins
diva plugins remove [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ diva 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
$ diva plugins unlink
$ diva plugins remove
EXAMPLES
$ diva plugins remove myplugindiva plugins reset
Remove all user-installed and linked plugins.
USAGE
$ diva 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
diva plugins uninstall [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ diva 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
$ diva plugins unlink
$ diva plugins remove
EXAMPLES
$ diva plugins uninstall mypluginSee code: @oclif/plugin-plugins
diva plugins unlink [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ diva 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
$ diva plugins unlink
$ diva plugins remove
EXAMPLES
$ diva plugins unlink myplugindiva plugins update
Update installed plugins.
USAGE
$ diva plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.See code: @oclif/plugin-plugins
diva service list
show account services list
USAGE
$ diva service list [-h]
FLAGS
-h, --help Show CLI help.
DESCRIPTION
show account services listSee code: src/commands/service/list.ts
diva service logs
read latest logs from service
USAGE
$ diva service logs [-h] [-s <value>]
FLAGS
-h, --help Show CLI help.
-s, --service=<value> service name
DESCRIPTION
read latest logs from serviceSee code: src/commands/service/logs.ts
diva service resize
resize a service
USAGE
$ diva service resize [-h] [-s <value>] [-r <value>] [-c <value>] [-d <value>]
FLAGS
-c, --cpu=<value> CPU
-d, --disk=<value> DISK
-h, --help Show CLI help.
-r, --ram=<value> RAM
-s, --service=<value> service name
DESCRIPTION
resize a serviceSee code: src/commands/service/resize.ts
diva service restart
restart a service
USAGE
$ diva service restart [-h] [-s <value>]
FLAGS
-h, --help Show CLI help.
-s, --service=<value> service name
DESCRIPTION
restart a serviceSee code: src/commands/service/restart.ts
diva service start
start a service
USAGE
$ diva service start [-h] [-s <value>]
FLAGS
-h, --help Show CLI help.
-s, --service=<value> service name
DESCRIPTION
start a serviceSee code: src/commands/service/start.ts
diva service stop
stop a service
USAGE
$ diva service stop [-h] [-s <value>]
FLAGS
-h, --help Show CLI help.
-s, --service=<value> service name
DESCRIPTION
stop a serviceSee code: src/commands/service/stop.ts
diva version
USAGE
$ diva version [--json] [--verbose]
FLAGS
--verbose Show additional information about the CLI.
GLOBAL FLAGS
--json Format output as json.
FLAG DESCRIPTIONS
--verbose Show additional information about the CLI.
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.See code: @oclif/plugin-version
