canasta remove
From Canasta Wiki
canasta > remove
canasta remove
Remove a wiki from a Canasta instance
Synopsis
Remove a wiki from an existing Canasta instance. This deletes the wiki's database, settings files, uploaded images, and its entry in wikis.yaml, then regenerates the Caddyfile and restarts the instance. You will be prompted for confirmation before any data is deleted.
canasta remove [flags]
Examples
# Remove a wiki by ID
canasta remove -i myinstance -w docs
# Remove without confirmation prompt
canasta remove -i myinstance -w docs -y
Flags
| Flag | Shorthand | Description | Default | Required |
|---|---|---|---|---|
--help |
-h |
help for remove | ||
--id |
-i |
Canasta instance ID | instance associated with current directory | |
--wiki |
-w |
ID of the wiki | ✓ | |
--yes |
-y |
Skip confirmation prompt | ||
--verbose |
-v |
Verbose output |