CLI

Configuration

The TLD CLI config file — location, format, and all options.

Config file location

bash
# Default location
$ ~/.tld/config.yaml
 
# Override with env var
$ TLD_CONFIG=/path/to/config.yaml tld lab list

Format

yaml
# ~/.tld/config.yaml
api_url: https://api.thelastdeploy.com
auth_token: eyJhbGciOiJIUzI1NiJ9...
lab_dir: ~/.tld/labs
theme: dark
no_color: false
verbose: false

Options

KeyDefaultDescription
api_urlhttps://api.thelastdeploy.comAPI endpoint
auth_token(empty)Authentication token — set by tld login
lab_dir~/.tld/labsWhere lab content is stored
themedarkTerminal color theme (dark / light)
no_colorfalseDisable colored output
verbosefalseEnable verbose output by default