Skip to content
[ 03 ]Commands

copia-cli config set

copia-cli config set <key> <value>

Validate a value and save it under a configuration key. An unknown key or a value the key does not allow fails without changing the config file; the hosts and their tokens are kept as they are.

Options inherited from parent commands

--host <string>
Target Copia host
-R, --repo <string>
Select repository (owner/repo)
--token <string>
Authentication token

Examples

$ copia-cli config set output json
$ copia-cli config set browser "firefox --new-tab"
$ copia-cli config set editor vim

See also