CLI:Canasta config unset
From canasta
canasta config unset
Remove a configuration setting
Synopsis
Remove one or more configuration keys from the .env file of a Canasta installation.
Each argument is a key name to remove. Multiple keys can be removed in a single invocation and only one restart is performed.
If a key has side effects (e.g., HTTPS_PORT), they are reverted before the key is removed. The instance is then restarted unless --no-restart is specified.
canasta config unset KEY [KEY ...] [flags]
Examples
canasta config unset CADDY_AUTO_HTTPS -i myinstance canasta config unset HTTPS_PORT -i myinstance canasta config unset HTTP_PORT HTTPS_PORT -i myinstance canasta config unset CANASTA_ENABLE_OBSERVABILITY -i myinstance --no-restart
Flags
| Flag | Shorthand | Description | Default | Required |
|---|---|---|---|---|
--force |
-f |
Allow unsetting unrecognized keys | ||
--help |
-h |
help for unset | ||
--no-restart |
Remove the setting without restarting the instance | |||
--id |
-i |
Canasta instance ID | instance associated with current directory | |
--verbose |
-v |
Verbose output |