wesktop v0.7.0 /wesktop config
On this page

Reference for the wesktop config command group — subcommands, flags, arguments, and usage details for the config group in the wesktop CLI.

#wesktop config

Manage persistent configuration values stored in the config file

#config path

Print the absolute path to the config file for this application

#config show

Show all config values with their sources (config file, env, or default)

#Flags

Flags
NameShortTypeDefaultEnvDescription
--plainboolDisplay config values in a human-readable table format
--jsonboolDisplay config values as a JSON object with source metadata

#config set

Set a persistent config value that overrides the default for a flag

#Flags

Flags
NameShortTypeDefaultEnvDescription
--clearboolClear a repeatable flag by setting its value to an empty list
--defaultboolReset a key to its default value by removing it from the config file

#Arguments

Arguments
NameRequiredDescription
keyyesThe config key to set, matching a registered flag name
valuenoValue to set (comma-separated for repeatable flags, use backslash to escape commas)

#config edit

Open the config file for manual editing in $EDITOR (creates if missing)

#config init

Generate a template config file with documented fields and defaults