@adpt/cli v0.3.1
Unbounded Adapt CLI
Command Reference
adapt autocomplete [SHELL]
adapt deploy:destroy DEPLOYID
adapt deploy:list
adapt deploy:run [STACKNAME]
adapt deploy:status DEPLOYID
adapt deploy:update DEPLOYID [STACKNAME]
adapt help [COMMAND]
adapt project:new STARTER [DIRECTORY]
adapt autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ adapt autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ adapt autocomplete
$ adapt autocomplete bash
$ adapt autocomplete zsh
$ adapt autocomplete --refresh-cache
See code: @unboundedsystems/plugin-autocomplete
adapt deploy:destroy DEPLOYID
Destroy an existing deployment of an Adapt project
USAGE
$ adapt deploy:destroy DEPLOYID
OPTIONS
-d, --debug=debugFlags Enable additional debug output. Should be a comma-separated list of debug flags. Valid debug
flags are: build
-q, --quiet Suppress status output messages. Still outputs any result output.
--dryRun Show what would happen during deploy, but do not modify the deployment
--registry=registry URL of alternate NPM registry to use
--rootFile=rootFile [default: index.tsx] Project description file to deploy (.ts or .tsx)
--serverUrl=serverUrl URL of Adapt server. Defaults to using local system.
ALIASES
$ adapt destroy
EXAMPLE
Destroy the deployment "myproj-dev-abcd" using the default project description file, "index.tsx":
$ adapt deploy:destroy myproj-dev-abcd
See code: dist/src/commands/deploy/destroy.ts
adapt deploy:list
List active Adapt deployments
USAGE
$ adapt deploy:list
OPTIONS
-d, --debug=debugFlags Enable additional debug output. Should be a comma-separated list of debug flags. Valid debug
flags are: build
-q, --quiet Suppress status output messages. Still outputs any result output.
--rootFile=rootFile [default: index.tsx] Project description file to deploy (.ts or .tsx)
--serverUrl=serverUrl URL of Adapt server. Defaults to using local system.
ALIASES
$ adapt list
EXAMPLE
List all deployments from the server
$ adapt deploy:list
See code: dist/src/commands/deploy/list.ts
adapt deploy:run [STACKNAME]
Create a new deployment for an Adapt project
USAGE
$ adapt deploy:run [STACKNAME]
ARGUMENTS
STACKNAME [default: default] Name of the stack you wish to run
OPTIONS
-d, --debug=debugFlags Enable additional debug output. Should be a comma-separated list of debug flags. Valid debug
flags are: build
-q, --quiet Suppress status output messages. Still outputs any result output.
--deployID=deployID A fixed deployID to use for this deployment. Will error if the specified deployID already
exists.
--dryRun Show what would happen during deploy, but do not modify the deployment
--registry=registry URL of alternate NPM registry to use
--rootFile=rootFile [default: index.tsx] Project description file to deploy (.ts or .tsx)
--serverUrl=serverUrl URL of Adapt server. Defaults to using local system.
ALIASES
$ adapt run
EXAMPLES
Deploy the stack named "default" from the default project description file, index.tsx:
$ adapt deploy:run
Deploy the stack named "dev" from the default project description file, index.tsx:
$ adapt deploy:run dev
Deploy the stack named "dev" from an alternate description file:
$ adapt deploy:run --rootFile somefile.tsx dev
See code: dist/src/commands/deploy/run.ts
adapt deploy:status DEPLOYID
Fetch the status of an existing deployment of an Adapt project
USAGE
$ adapt deploy:status DEPLOYID
OPTIONS
-d, --debug=debugFlags Enable additional debug output. Should be a comma-separated list of debug flags. Valid debug
flags are: build
-q, --quiet Suppress status output messages. Still outputs any result output.
--dryRun Show what would happen during deploy, but do not modify the deployment
--registry=registry URL of alternate NPM registry to use
--rootFile=rootFile [default: index.tsx] Project description file to deploy (.ts or .tsx)
--serverUrl=serverUrl URL of Adapt server. Defaults to using local system.
ALIASES
$ adapt status
EXAMPLES
Fetch the status of deployment "myproj-dev-abcd" from the default project description file, "index.tsx":
$ adapt deploy:status myproj-dev-abcd
Fetch the status of deployment "myproj-dev-abcd" from an alternate description file, "somefile.tsx":
$ adapt deploy:status --rootFile somefile.tsx myproj-dev-abcd
See code: dist/src/commands/deploy/status.ts
adapt deploy:update DEPLOYID [STACKNAME]
Update an existing deployment of an Adapt project
USAGE
$ adapt deploy:update DEPLOYID [STACKNAME]
OPTIONS
-d, --debug=debugFlags Enable additional debug output. Should be a comma-separated list of debug flags. Valid debug
flags are: build
-q, --quiet Suppress status output messages. Still outputs any result output.
--dryRun Show what would happen during deploy, but do not modify the deployment
--registry=registry URL of alternate NPM registry to use
--rootFile=rootFile [default: index.tsx] Project description file to deploy (.ts or .tsx)
--serverUrl=serverUrl URL of Adapt server. Defaults to using local system.
ALIASES
$ adapt update
EXAMPLES
Update the deployment "myproj-dev-abcd", from the default project description file, "index.tsx":
$ adapt deploy:update myproj-dev-abcd
Update the deployment "myproj-dev-abcd", using the stack named "dev" from an alternate description file,
"somefile.tsx":
$ adapt deploy:update --rootFile somefile.tsx myproj-dev-abcd dev
See code: dist/src/commands/deploy/update.ts
adapt help [COMMAND]
display help for adapt
USAGE
$ adapt help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @unboundedsystems/plugin-help
adapt project:new STARTER [DIRECTORY]
Create a new Adapt project
USAGE
$ adapt project:new STARTER [DIRECTORY]
$ adapt project:new STARTER DIRECTORY [STARTER_ARGS...]
ARGUMENTS
STARTER Adapt starter to use. May be the name of a starter from the starter gallery, a URL, a local file path, or
most formats supported by npm.
DIRECTORY [default: .] Directory where the new project should be created. The directory will be created if it does
not exist.
OPTIONS
-q, --quiet Suppress status output messages. Still outputs any result output.
--adaptVersion=adaptVersion [default: <adapt CLI version>] Attempt to select a starter that is
compatible with this version of Adapt. Must be a valid semver.
--sshHostKeyCheck=yes|no|ask|accept-new|off|unset [default: yes] Sets the ssh StrictHostKeyChecking option when using
the ssh protocol for fetching a starter from a remote git
repository. Defaults to 'yes' if OpenSSH is detected, 'unset'
otherwise.
ALIASES
$ adapt new
EXAMPLE
Create a new project into the directory './myproj' using the starter named 'blank' from the Adapt starter gallery:
$ adapt project:new blank myproj
See code: dist/src/commands/project/new.ts
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago