Configuration
Connection Settings
Section titled “Connection Settings”The CLI resolves connection settings in this order:
- Command-line flags
- Environment variables
- TOML config file
By default, the config file is loaded from ~/.config/runta/config.toml. Use
--config <PATH> or RUNTA_CONFIG to choose another file.
endpoint = "https://api.runta.dev"token = "<tenant_token>"| Flag | Environment variable | Description |
|---|---|---|
--endpoint <ENDPOINT> | RUNTA_ENDPOINT | Runta REST API endpoint URL. Use http:// for local development or https:// for hosted API access. |
--token <TOKEN> | RUNTA_TOKEN | Bearer token for the Runta API. |
--config <PATH> | RUNTA_CONFIG | TOML config file path. |
Global Options
Section titled “Global Options”| Option | Description |
|---|---|
--json | Enable machine-readable JSON output. |
-v, --verbose | Enable debug logging. Repeat as -vv for trace logging. |
-h, --help | Print help. |
-V, --version | Print version. |
Only --json, -v/--verbose, and -h/--help can be placed after a
subcommand. Put --endpoint, --token, --config, and -V/--version
before the subcommand.