|
| 1 | +--- |
| 2 | +title: CLI - Command Reference |
| 3 | +group: CLI |
| 4 | +--- |
| 5 | + |
| 6 | +# CLI Command Reference |
| 7 | + |
| 8 | +Complete reference for all `tsarr` commands. |
| 9 | + |
| 10 | +## Global Options |
| 11 | + |
| 12 | +These flags are available on all service resource actions: |
| 13 | + |
| 14 | +| Flag | Description | |
| 15 | +|------|-------------| |
| 16 | +| `--json` | Output as JSON | |
| 17 | +| `--table` | Output as formatted table | |
| 18 | +| `--quiet` / `-q` | Output only IDs | |
| 19 | +| `--yes` / `-y` | Skip confirmation prompts | |
| 20 | + |
| 21 | +## Radarr (Movies) |
| 22 | + |
| 23 | +```bash |
| 24 | +tsarr radarr <resource> <action> [args] |
| 25 | +``` |
| 26 | + |
| 27 | +| Resource | Action | Args | Description | |
| 28 | +|----------|--------|------|-------------| |
| 29 | +| `movie` | `list` | | List all movies | |
| 30 | +| `movie` | `get` | `<id>` | Get movie by ID | |
| 31 | +| `movie` | `search` | `<term>` | Search TMDB for movies | |
| 32 | +| `movie` | `delete` | `<id>` | Delete a movie | |
| 33 | +| `profile` | `list` | | List quality profiles | |
| 34 | +| `profile` | `get` | `<id>` | Get quality profile by ID | |
| 35 | +| `tag` | `list` | | List all tags | |
| 36 | +| `queue` | `list` | | Show download queue | |
| 37 | +| `queue` | `status` | | Queue overview | |
| 38 | +| `rootfolder` | `list` | | List root folders | |
| 39 | +| `system` | `status` | | System information | |
| 40 | +| `system` | `health` | | Health check issues | |
| 41 | +| `history` | `list` | | Recent activity | |
| 42 | +| `customformat` | `list` | | List custom formats | |
| 43 | + |
| 44 | +## Sonarr (TV Shows) |
| 45 | + |
| 46 | +```bash |
| 47 | +tsarr sonarr <resource> <action> [args] |
| 48 | +``` |
| 49 | + |
| 50 | +| Resource | Action | Args | Description | |
| 51 | +|----------|--------|------|-------------| |
| 52 | +| `series` | `list` | | List all series | |
| 53 | +| `series` | `get` | `<id>` | Get series by ID | |
| 54 | +| `series` | `search` | `<term>` | Search for TV series | |
| 55 | +| `series` | `delete` | `<id>` | Delete a series | |
| 56 | +| `episode` | `list` | | List all episodes | |
| 57 | +| `episode` | `get` | `<id>` | Get episode by ID | |
| 58 | +| `profile` | `list` | | List quality profiles | |
| 59 | +| `tag` | `list` | | List all tags | |
| 60 | +| `rootfolder` | `list` | | List root folders | |
| 61 | +| `system` | `status` | | System information | |
| 62 | +| `system` | `health` | | Health check issues | |
| 63 | + |
| 64 | +## Lidarr (Music) |
| 65 | + |
| 66 | +```bash |
| 67 | +tsarr lidarr <resource> <action> [args] |
| 68 | +``` |
| 69 | + |
| 70 | +| Resource | Action | Args | Description | |
| 71 | +|----------|--------|------|-------------| |
| 72 | +| `artist` | `list` | | List all artists | |
| 73 | +| `artist` | `get` | `<id>` | Get artist by ID | |
| 74 | +| `artist` | `search` | `<term>` | Search for artists | |
| 75 | +| `artist` | `delete` | `<id>` | Delete an artist | |
| 76 | +| `album` | `list` | | List all albums | |
| 77 | +| `album` | `get` | `<id>` | Get album by ID | |
| 78 | +| `album` | `search` | `<term>` | Search for albums | |
| 79 | +| `profile` | `list` | | List quality profiles | |
| 80 | +| `tag` | `list` | | List all tags | |
| 81 | +| `rootfolder` | `list` | | List root folders | |
| 82 | +| `system` | `status` | | System information | |
| 83 | +| `system` | `health` | | Health check issues | |
| 84 | + |
| 85 | +## Readarr (Books) |
| 86 | + |
| 87 | +```bash |
| 88 | +tsarr readarr <resource> <action> [args] |
| 89 | +``` |
| 90 | + |
| 91 | +| Resource | Action | Args | Description | |
| 92 | +|----------|--------|------|-------------| |
| 93 | +| `author` | `list` | | List all authors | |
| 94 | +| `author` | `get` | `<id>` | Get author by ID | |
| 95 | +| `author` | `search` | `<term>` | Search for authors | |
| 96 | +| `author` | `delete` | `<id>` | Delete an author | |
| 97 | +| `book` | `list` | | List all books | |
| 98 | +| `book` | `get` | `<id>` | Get book by ID | |
| 99 | +| `book` | `search` | `<term>` | Search for books | |
| 100 | +| `profile` | `list` | | List quality profiles | |
| 101 | +| `tag` | `list` | | List all tags | |
| 102 | +| `rootfolder` | `list` | | List root folders | |
| 103 | +| `system` | `status` | | System information | |
| 104 | +| `system` | `health` | | Health check issues | |
| 105 | + |
| 106 | +## Prowlarr (Indexers) |
| 107 | + |
| 108 | +```bash |
| 109 | +tsarr prowlarr <resource> <action> [args] |
| 110 | +``` |
| 111 | + |
| 112 | +| Resource | Action | Args | Description | |
| 113 | +|----------|--------|------|-------------| |
| 114 | +| `indexer` | `list` | | List all indexers | |
| 115 | +| `indexer` | `get` | `<id>` | Get indexer by ID | |
| 116 | +| `indexer` | `delete` | `<id>` | Delete an indexer | |
| 117 | +| `search` | `run` | `<query>` | Search across all indexers | |
| 118 | +| `app` | `list` | | List connected applications | |
| 119 | +| `app` | `get` | `<id>` | Get application by ID | |
| 120 | +| `tag` | `list` | | List all tags | |
| 121 | +| `system` | `status` | | System information | |
| 122 | +| `system` | `health` | | Health check issues | |
| 123 | + |
| 124 | +## Bazarr (Subtitles) |
| 125 | + |
| 126 | +```bash |
| 127 | +tsarr bazarr <resource> <action> [args] |
| 128 | +``` |
| 129 | + |
| 130 | +| Resource | Action | Args | Description | |
| 131 | +|----------|--------|------|-------------| |
| 132 | +| `series` | `list` | | List series with subtitle info | |
| 133 | +| `movie` | `list` | | List movies with subtitle info | |
| 134 | +| `episode` | `wanted` | | Episodes needing subtitles | |
| 135 | +| `provider` | `list` | | List subtitle providers | |
| 136 | +| `language` | `list` | | List available languages | |
| 137 | +| `language` | `profiles` | | List language profiles | |
| 138 | +| `system` | `status` | | System information | |
| 139 | +| `system` | `health` | | Health check issues | |
| 140 | +| `system` | `badges` | | Notification badges | |
| 141 | + |
| 142 | +## Utility Commands |
| 143 | + |
| 144 | +### Doctor |
| 145 | + |
| 146 | +Test connectivity to all configured services: |
| 147 | + |
| 148 | +```bash |
| 149 | +tsarr doctor |
| 150 | +``` |
| 151 | + |
| 152 | +### Config |
| 153 | + |
| 154 | +Manage CLI configuration: |
| 155 | + |
| 156 | +```bash |
| 157 | +tsarr config init # Interactive setup |
| 158 | +tsarr config set <key> <value> # Set a config value |
| 159 | +tsarr config get <key> # Get a config value |
| 160 | +tsarr config show # Show full merged config |
| 161 | +``` |
| 162 | + |
| 163 | +See [CLI Configuration](./cli-configuration.md) for details. |
| 164 | + |
| 165 | +### Completions |
| 166 | + |
| 167 | +Generate shell completions: |
| 168 | + |
| 169 | +```bash |
| 170 | +tsarr completions bash |
| 171 | +tsarr completions zsh |
| 172 | +tsarr completions fish |
| 173 | +``` |
0 commit comments