XL Command Line Interface reference
The xl command line tool provides a fast and straightforward method for provisioning Digital.ai Release, Deploy, and Runner servers using YAML files. The YAML files can include items such as releases, pipelines, applications, infrastructure, and target environments. In addition, the XL CLI is used for installing or upgrading Digital.ai Deploy and Release.
Usage
xl [command]
Available Commands
| Command | Description |
|---|---|
| apply | Apply configuration changes |
| blueprint | Create a Blueprint |
| generate | Generate configuration |
| help | Help about any command |
| ide | IDE commands |
| license | Display license info |
| kube | Install, upgrade, or clean Digital.ai Deploy or Release using Operator. |
| preview | Preview Deployment |
| version | Display version info |
| wrapper | Generate XL wrapper |
Flags
| Flag | Description |
|---|---|
| --blueprint-current-repository string | Current active blueprint repository name |
| --config string | config file (default: $HOME/.xebialabs/config.yaml) |
| -h, --help | help for xl |
| -q, --quiet | suppress all output, except for errors |
| -v, --verbose | verbose output |
| --xl-deploy-authmethod string | Authentication method to access the Digital.ai Deploy server, possible values are http, login (default "http") |
| --xl-deploy-password string | Password to access the Digital.ai Deploy server (default "admin") |
| --xl-deploy-url string | URL to access the Digital.ai Deploy server (default http://localhost:4516/) |
| --xl-deploy-username string | Username to access the Digital.ai Deploy server (default "admin") |
| --xl-release-authmethod string | Authentication method to access the Digital.ai Release server, possible values are http, login, token (default "http") |
| --xl-release-password string | Password to access the Digital.ai Release server (default "admin") |
| --xl-release-token string | Personal access token to access the Digital.ai Release server |
| --xl-release-url string | URL to access the Digital.ai Release server (default http://localhost:5516/) |
| --xl-release-username string | Username to access the Digital.ai Release server (default "admin") |
Use xl [command] --help for more information about a command.
xl apply Command
Use the xl apply command to execute YAML specifications.
Note If you try to overwrite the YAML specification file after deployment,you will receive an error message "Error while processing YAML document at line 1 of XL YAML file E:\demo\applications.yaml: Unexpected response: File cannot be updated. If you want to change the file, create a new CI for the artifact" and you cannot override the file specification.
Syntax
xl apply [flag] [value]