dtctl region init
Usage
dtctl region init
Aliases
i
Description
Initialize the active region by selecting the first region available to your account. Run this once after dtctl auth init. Use dtctl region change to switch later.
Example
dtctl region init
Related Commands
| Command | Description |
|---|---|
| dtctl region list | List the regions available to your account |
| dtctl region change | Switch the active region |
Global Flags
| Option | Description |
|---|---|
--api-url | Send this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1") |
--config, -c | Specify a custom config file Default: ~/.config/dtctl/config.yaml |
--no-headers | Omit the column headers, for scripting Default: false |
--output, -o | Output format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line Default: text |