kusion config set
Set a config item
Synopsis
This command sets the value of a specified kusion config item, where the config item must be registered, and the value must be in valid type.
kusion config set
Examples
# Set a config item with string type value
kusion config set backends.current mysql-pre
# Set a config item with int type value
kusion config set backends.mysql-pre.configs.port 3306
# Set a config item with struct or map type value
kusion config set backends.mysql-pre.configs '{"dbName":"kusion","user":"kk","host":"127.0.0.1","port":3306}'
Options
-h, --help help for set
Options inherited from parent commands
--profile string Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none")
--profile-output string Name of the file to write the profile to (default "profile.pprof")
SEE ALSO
- kusion config - Interact with the Kusion config