adj config
Manage CLI configuration + contexts
Inspect and edit the adj CLI configuration file (~/.config/adj/config.yaml, honoring $XDG_CONFIG_HOME).
View the stored contexts, switch the current context, or point a context at a different server. Access + refresh tokens live only in this file; 'view' redacts them unless --show-tokens is given.
Usage
adj config
Global flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--context |
— |
config context to use (overrides current-context) | |
--output |
-o | table |
output format: table|json|yaml |
--server |
— |
server base URL (overrides the active context) | |
--token |
— |
access token (overrides the active context) | |
--verbose |
-v | false |
log requests to stderr |
Subcommands
- adj config current-context — Print the name of the current context
- adj config set-server — Set the active context's server base URL
- adj config use-context — Switch the current context
- adj config view — Show the CLI configuration (tokens redacted unless --show-tokens)