feat: replace setup with init wizard + interactive config menu
- `unarr init` (alias: `unarr setup`): streamlined 3-step wizard (API key, download dir, daemon install). Removed method/name prompts — auto-configured from defaults. - `unarr config [category]`: interactive menu with 7 categories (downloads, organization, notifications, device, region, connection, advanced). Direct access via `unarr config downloads`, etc. - Extract shared helpers (openBrowser, expandHome, isTerminal) to helpers.go. Delete old setup.go and config.go. - Update all "unarr setup" references to "unarr init" across daemon, doctor, status, README, install scripts.
This commit is contained in:
parent
35e5298f23
commit
0b6c6849b1
13 changed files with 541 additions and 248 deletions
|
|
@ -53,8 +53,8 @@ make build
|
|||
## Quick Start
|
||||
|
||||
```bash
|
||||
# 1. Run the setup wizard (opens browser for API key)
|
||||
unarr setup
|
||||
# 1. Run the init wizard (opens browser for API key)
|
||||
unarr init
|
||||
|
||||
# 2. Search for content
|
||||
unarr search "breaking bad" --type show --quality 1080p
|
||||
|
|
@ -69,8 +69,8 @@ unarr start
|
|||
|
||||
| Command | Description |
|
||||
|---------|-------------|
|
||||
| `unarr setup` | First-time configuration wizard (API key, download dir, method) |
|
||||
| `unarr config` | Edit configuration interactively |
|
||||
| `unarr init` | First-time configuration wizard (API key, download dir, daemon) |
|
||||
| `unarr config` | Edit all settings interactively (speed, organization, etc.) |
|
||||
|
||||
### Search & Discovery
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue