Skip to main content

lium config

Read and write CLI configuration values.

lium config SUBCOMMAND [OPTIONS]

Subcommands​

SubcommandPurpose
showDisplay the entire current configuration
get KEYRead a single value by dotted key
set KEY [VALUE]Write a single value (interactive if VALUE is omitted)
unset KEYRemove a single value
resetReset configuration to defaults (--confirm skips the prompt)
pathPrint the path to the config file
editOpen 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​