lium config
Read and write CLI configuration values.
lium config SUBCOMMAND [OPTIONS]
Subcommands​
| Subcommand | Purpose |
|---|---|
show | Display the entire current configuration |
get KEY | Read a single value by dotted key |
set KEY [VALUE] | Write a single value (interactive if VALUE is omitted) |
unset KEY | Remove a single value |
reset | Reset configuration to defaults (--confirm skips the prompt) |
path | Print the path to the config file |
edit | Open the config file in your editor |
Examples​
lium config show # Print full config
lium config get api.api_key # Read a value
lium config set api.api_key # Set interactively (value hidden)
lium config unset api.api_key # Remove a value
lium config path # Where the config file lives
lium config reset --confirm # Reset to defaults, no prompt
lium config edit # Open in $EDITOR
Environment variable override​
Override the API key for a single invocation:
LIUM_API_KEY=xyz lium ls
See also​
lium init— first-time setuplium theme— change the CLI color theme