CLI Reference
Mithrandir is invoked as mithrandir <command> [options].
Global Flags
| Flag | Description |
|---|---|
--yes, -y | Skip confirmation prompts |
--help | Show help |
Commands
Setup & Configuration
| Command | Description |
|---|---|
setup | Interactive setup wizard |
config | Show current .env settings |
doctor | Diagnose setup issues |
App Management
| Command | Description |
|---|---|
install | Install an app or system component |
uninstall | Uninstall an app or the full system |
reinstall | Reinstall an app from scratch |
start | Start a stopped app |
stop | Stop a running app |
restart | Restart a running app |
update | Update container images |
Backup & Restore
| Command | Description |
|---|---|
backup | Backup apps (with subcommands for list, delete, verify, config) |
restore | Restore app(s) from backup |
recover | Full disaster recovery from remote backup |
Monitoring
| Command | Description |
|---|---|
status | Show installed apps and system status |
health | Check system health |
log | View container logs |
graph | Show inter-app dependency tree |
capacity | Show system capacity and resource scores |
Maintenance
| Command | Description |
|---|---|
self-update | Update the CLI from git |
version | Show version and git commit hash |
ui | Build and serve the UI dashboard |
docs | Build and serve the documentation site |
completions | Generate shell completion scripts |