README
@vcd/ext-cli
CLI tool for working with Cloud Director extensions
Usage
$ npm install -g @vcd/ext-cli
$ vcd-ext COMMAND
running command...
$ vcd-ext (-v|--version|version)
@vcd/ext-cli/0.0.12-alpha.0 darwin-x64 node-v12.18.4
$ vcd-ext --help [COMMAND]
USAGE
$ vcd-ext COMMAND
...
Commands
vcd-ext build
vcd-ext deploy [NAME]
vcd-ext help [COMMAND]
vcd-ext login [ALIAS] [BASEPATH] [USERNAME] [PASSWORD]
vcd-ext new [NAME]
vcd-ext pack [NAME]
vcd-ext serve
vcd-ext use [ALIAS]
vcd-ext build
compile the project from TS to JSON
USAGE
$ vcd-ext build
OPTIONS
-h, --help Provides usage for the current command
--additionalProperties Controls whether or not additionalProperties will be allowed or not.
EXAMPLE
$ vcd-ext build
vcd-ext deploy [NAME]
Deploys extensibility entities to previously logged in vCD instance. If a file is provided it deployes from the file, otherwise it needs to be run in the context of a solution projects.
USAGE
$ vcd-ext deploy [NAME]
OPTIONS
-f, --force If provided it will first try to remove all objects if present and recreated them.
-h, --help Provides usage for the current command.
--only=only Comma separated list of subcomponent names to be deployed. If not provided it deployes all subcomponents.
EXAMPLES
$ vcd-ext deploy
$ vcd-ext deploy mysolution.care
vcd-ext help [COMMAND]
display help for vcd-ext
USAGE
$ vcd-ext help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
vcd-ext login [ALIAS] [BASEPATH] [USERNAME] [PASSWORD]
Logs into Cloud Director and stores the session
USAGE
$ vcd-ext login [ALIAS] [BASEPATH] [USERNAME] [PASSWORD]
ARGUMENTS
ALIAS Alias for stroing the session token
BASEPATH Cloud director URL https://<host>[:<port>]/cloudapi
USERNAME Username in the form of <user>[@<tenant>]. If @<tenant> is omitted System tenant will be used.
PASSWORD Password for the user
OPTIONS
-h, --help Provides usage for the current command.
EXAMPLE
$ vcd-ext login <alias> <basePath> <username> <password>
vcd-ext new [NAME]
Creates a new project in the folder provided as a name
USAGE
$ vcd-ext new [NAME]
ARGUMENTS
NAME Project name
OPTIONS
-h, --help Provides usage for the current command.
EXAMPLE
$ vcd-ext new ticketing
vcd-ext pack [NAME]
Packages the contents of the solution project into a CARE package. File name can be provided as optional parameter.
USAGE
$ vcd-ext pack [NAME]
ARGUMENTS
NAME Optional archive name
OPTIONS
-h, --help Provides usage for the current command.
EXAMPLES
$ vcd-ext pack
$ vcd-ext pack mypackagename.zip
vcd-ext serve
Serves an emulated environmnet
USAGE
$ vcd-ext serve
OPTIONS
-h, --help Provides usage for the current command.
EXAMPLE
$ vcd-ext serve
vcd-ext use [ALIAS]
Switch to previously configured session
USAGE
$ vcd-ext use [ALIAS]
ARGUMENTS
ALIAS Alias for the session token to switch to
OPTIONS
-h, --help Provides usage for the current command.
EXAMPLE
$ vcd-ext use <alias>