canasta config unset
From Canasta Wiki
canasta config unset
Remove a configuration setting
Synopsis
Remove one or more configuration keys from the .env file of
a Canasta instance.
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 [flags]
Examples
canasta config unset MW_SITE_SERVER
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--force |
-f |
Allow unsetting unrecognized keys | Both | ||
--id |
-i |
Canasta instance ID | * | Both | |
--keys |
Configuration keys to remove | Both | |||
--no-restart |
Remove settings without restarting the instance | Both |
* Defaults to the Canasta instance matching the current directory, if any.
Global Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--help |
-h |
Show help message and exit | Both | ||
--verbose |
-v |
Enable verbose output | Both |