truss config

Manage CLI configuration. Values are stored in ~/.config/truss/config.json.

Subcommands

truss config get <key>

Get a specific config value. Exits with an error if the key is not found.

truss config get api-url
truss config get api-key

truss config set <key> <value>

Set a config value.

truss config set api-url https://api.tensflare.com
truss config set api-key tr_abc123

truss config list

List all configuration values.

OptionDescription
--jsonOutput as JSON
truss config list
truss config list --json

truss config clear

Clear all configuration.

truss config clear