Skip to main content
Version: Next

The tedge config command

tedge config
tedge-config 
Configure Thin Edge

USAGE:
tedge config <SUBCOMMAND>

OPTIONS:
-h, --help Print help information

SUBCOMMANDS:
get Get the value of the provided configuration key
help Print this message or the help of the given subcommand(s)
list Print the configuration keys and their values
set Set or update the provided configuration key with the given value
unset Unset the provided configuration key
add Append or set the provided configuration key with the given value
remove Remove value from the provided configuration key

Get​

tedge config get
tedge-config-get 
Get the value of the provided configuration key

USAGE:
tedge config get <KEY>

ARGS:
<KEY> Configuration key. Run `tedge config list --doc` for available keys

OPTIONS:
-h, --help Print help information

Set​

tedge config set
tedge-config-set 
Set or update the provided configuration key with the given value

USAGE:
tedge config set <KEY> <VALUE>

ARGS:
<KEY> Configuration key. Run `tedge config list --doc` for available keys
<VALUE> Configuration value

OPTIONS:
-h, --help Print help information

List​

tedge config list
tedge-config-list 
Print the configuration keys and their values

USAGE:
tedge config list [OPTIONS]

OPTIONS:
--all Prints all the configuration keys, even those without a configured value
--doc Prints all keys and descriptions with example values
-h, --help Print help information

Unset​

tedge config unset
tedge-config-unset 
Unset the provided configuration key

USAGE:
tedge config unset <KEY>

ARGS:
<KEY> Configuration key. Run `tedge config list --doc` for available keys

OPTIONS:
-h, --help Print help information

Add​

tedge config add
Append or set the provided configuration key with the given value

Usage: tedge config add [OPTIONS] <KEY> <VALUE>

Arguments:
<KEY> Configuration key. Run `tedge config list --doc` for available keys
<VALUE> Configuration value

Options:
--config-dir <CONFIG_DIR> [env: TEDGE_CONFIG_DIR, default: /etc/tedge]
-h, --help Print help

Remove​

tedge config remove
Remove value from the provided configuration key

Usage: tedge config remove [OPTIONS] <KEY> <VALUE>

Arguments:
<KEY> Configuration key. Run `tedge config list --doc` for available keys
<VALUE> Configuration value

Options:
--config-dir <CONFIG_DIR> [env: TEDGE_CONFIG_DIR, default: /etc/tedge]
-h, --help Print help