Skip to main content

dtctl config list

Usage​

dtctl config list

Aliases​

l

Description​

Show the settings dtctl is currently using, where each one came from, and the config file they are stored in. Credentials are not printed; use dtctl auth status for those.

Example​

dtctl config list

Response​

In text output (the default), this command returns the following columns: Key, Value, Source.

Pass --output json to get the full response object instead.

Example output:

Key             Value                              Source
--- ----- ------
api.base_url https://console.dt.net.tr/api/v1 default
output text default
CommandDescription
dtctl config setSet a setting permanently
dtctl config unsetRemove a setting

Global Flags​

OptionDescription
--api-urlSend this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1")
--config, -cSpecify a custom config file
Default: ~/.config/dtctl/config.yaml
--no-headersOmit the column headers, for scripting
Default: false
--output, -oOutput format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line
Default: text