feat: add reset/uninstall commands

This commit is contained in:
Peter Steinberger
2026-01-11 10:23:52 +00:00
parent e84eb3e671
commit 11c8db14a1
13 changed files with 768 additions and 2 deletions

View File

@@ -48,6 +48,8 @@ clawdbot [--dev] [--profile <name>] <command>
onboard
configure (alias: config)
doctor
reset
uninstall
update
providers
list
@@ -442,6 +444,36 @@ Options:
- `--store <path>`
- `--active <minutes>`
## Reset / Uninstall
### `reset`
Reset local config/state (keeps the CLI installed).
Options:
- `--scope <config|config+creds+sessions|full>`
- `--yes`
- `--non-interactive`
- `--dry-run`
Notes:
- `--non-interactive` requires `--scope` and `--yes`.
### `uninstall`
Uninstall the gateway service + local data (CLI remains).
Options:
- `--service`
- `--state`
- `--workspace`
- `--app`
- `--all`
- `--yes`
- `--non-interactive`
- `--dry-run`
Notes:
- `--non-interactive` requires `--yes` and explicit scopes (or `--all`).
## Gateway
### `gateway`