|
| 1 | +# Command Reference |
| 2 | + |
| 3 | +All commands accept the [global flags](#global-flags) listed at the bottom. |
| 4 | +Use `money <command> --help` for full flag details. |
| 5 | + |
| 6 | +## Top-level Commands |
| 7 | + |
| 8 | +| Command | Description | |
| 9 | +|---------|-------------| |
| 10 | +| `version` | Show version and commit | |
| 11 | +| `doctor` | Check configuration, store, providers, and connectivity | |
| 12 | +| `setup` | Guided first-time setup (config, encryption key, database) | |
| 13 | +| `completion` | Generate shell completion scripts (bash, zsh, fish, powershell) | |
| 14 | + |
| 15 | +```bash |
| 16 | +money version |
| 17 | +money version --json |
| 18 | +money doctor |
| 19 | +money doctor --json |
| 20 | +money setup |
| 21 | +money setup --json |
| 22 | +``` |
| 23 | + |
| 24 | +## auth / plaid |
| 25 | + |
| 26 | +Manage Plaid credentials and dashboard authentication. |
| 27 | + |
| 28 | +| Command | Usage | Description | |
| 29 | +|---------|-------|-------------| |
| 30 | +| `plaid login` | `money plaid login` | Interactive Plaid Dashboard OAuth login | |
| 31 | +| `plaid logout` | `money plaid logout` | Remove Dashboard auth (preserves API keys) | |
| 32 | +| `providers configure plaid` | `money providers configure plaid --client-id ... --secret ...` | Set Plaid API keys directly | |
| 33 | +| `providers plaid login` | `money providers plaid login` | Alias for `plaid login` | |
| 34 | + |
| 35 | +```bash |
| 36 | +money plaid login --json |
| 37 | +money plaid logout --json |
| 38 | +money providers configure plaid --client-id CLIENT_ID --secret SECRET --environment sandbox --json |
| 39 | +``` |
| 40 | + |
| 41 | +## link |
| 42 | + |
| 43 | +Link a financial institution via Plaid Link (browser flow). |
| 44 | + |
| 45 | +| Command | Usage | Description | |
| 46 | +|---------|-------|-------------| |
| 47 | +| `link` | `money link "Chase"` | Open Plaid Link for an institution query | |
| 48 | +| `plaid sandbox link` | `money plaid sandbox link --products transactions --institution-id ins_56` | Create a sandbox link (no browser) | |
| 49 | + |
| 50 | +**Key flags:** |
| 51 | + |
| 52 | +- `--no-open` — don't auto-open browser |
| 53 | +- `--additional-consented-products` — extra Plaid products (comma-separated) |
| 54 | +- `--required-if-supported-products` — required products if supported |
| 55 | +- `--optional-products` — optional products |
| 56 | + |
| 57 | +```bash |
| 58 | +money link "Chase" --json |
| 59 | +money plaid sandbox link --products transactions --institution-id ins_56 |
| 60 | +``` |
| 61 | + |
| 62 | +## accounts |
| 63 | + |
| 64 | +Read local account data. |
| 65 | + |
| 66 | +| Command | Usage | Description | |
| 67 | +|---------|-------|-------------| |
| 68 | +| `accounts list` | `money accounts list` | List all financial accounts | |
| 69 | + |
| 70 | +```bash |
| 71 | +money accounts list --json |
| 72 | +``` |
| 73 | + |
| 74 | +## accounts create-manual |
| 75 | + |
| 76 | +Create a local manual account (not linked to a provider). |
| 77 | + |
| 78 | +```bash |
| 79 | +money accounts create-manual --name Savings --type depository --balance 5000.00 --currency USD --confirm |
| 80 | +money accounts create-manual --name "Credit Card" --type credit --balance 500.00 --dry-run |
| 81 | +``` |
| 82 | + |
| 83 | +## transactions |
| 84 | + |
| 85 | +Read and manage local transaction data. |
| 86 | + |
| 87 | +| Command | Usage | Description | |
| 88 | +|---------|-------|-------------| |
| 89 | +| `transactions list` | `money transactions list` | List transactions with filters | |
| 90 | +| `transactions search` | `money transactions search <query>` | Search transactions by text | |
| 91 | + |
| 92 | +**Filters for `transactions list`:** |
| 93 | + |
| 94 | +- `--account` — filter by account |
| 95 | +- `--category` — filter by category |
| 96 | +- `--merchant` — filter by merchant |
| 97 | +- `--tag` — filter by tag |
| 98 | +- `--date-from` / `--date-to` — date range |
| 99 | +- `--needs-review true|false` — review status |
| 100 | +- `--pending true|false` — pending status |
| 101 | +- `--recurring true|false` — recurring status |
| 102 | +- `--removed exclude|include|only` — removed records |
| 103 | +- `--limit` / `--offset` — pagination |
| 104 | + |
| 105 | +Sort order: `date DESC`, `pending DESC`, `id ASC`. |
| 106 | + |
| 107 | +```bash |
| 108 | +money transactions list --json |
| 109 | +money transactions list --account acc_xxx --date-from 2024-01-01 --json |
| 110 | +money transactions search "coffee" --json |
| 111 | +``` |
| 112 | + |
| 113 | +## categories / tags / recurring |
| 114 | + |
| 115 | +Read local category, tag, and recurring transaction data. |
| 116 | + |
| 117 | +```bash |
| 118 | +money categories list --json |
| 119 | +money tags list --json |
| 120 | +money recurring list --json |
| 121 | +``` |
| 122 | + |
| 123 | +## sync |
| 124 | + |
| 125 | +Refresh data from linked financial providers. |
| 126 | + |
| 127 | +| Command | Usage | Description | |
| 128 | +|---------|-------|-------------| |
| 129 | +| `sync` | `money sync` | Sync all linked provider items | |
| 130 | +| `sync` | `money sync --provider plaid` | Sync one provider | |
| 131 | +| `sync` | `money sync --provider-item pi_xxx` | Sync one linked item | |
| 132 | + |
| 133 | +**Key flags:** |
| 134 | + |
| 135 | +- `--provider` — narrow to one provider |
| 136 | +- `--provider-item` — narrow to one linked item |
| 137 | +- `--verbose` — per-item status in human mode |
| 138 | +- `--start-date` / `--end-date` — backfill date range (YYYY-MM-DD) |
| 139 | + |
| 140 | +```bash |
| 141 | +money sync --json |
| 142 | +money sync --provider plaid --json |
| 143 | +money sync --start-date 2024-01-01 --end-date 2024-03-01 --json |
| 144 | +``` |
| 145 | + |
| 146 | +## investments |
| 147 | + |
| 148 | +Read local investment data. |
| 149 | + |
| 150 | +```bash |
| 151 | +money investments holdings --json |
| 152 | +money investments securities --json |
| 153 | +``` |
| 154 | + |
| 155 | +## liabilities |
| 156 | + |
| 157 | +Read local liability data. |
| 158 | + |
| 159 | +```bash |
| 160 | +money liabilities list --json |
| 161 | +``` |
| 162 | + |
| 163 | +## items |
| 164 | + |
| 165 | +Manage linked provider items. |
| 166 | + |
| 167 | +| Command | Usage | Description | |
| 168 | +|---------|-------|-------------| |
| 169 | +| `items list` | `money items list` | List linked provider items | |
| 170 | +| `items get` | `money items get <id>` | Show one provider item | |
| 171 | +| `items rename` | `money items rename <id> "My Bank"` | Update alias | |
| 172 | +| `items remove` | `money items remove <id>` | Remove item and cascade-delete associated data | |
| 173 | + |
| 174 | +```bash |
| 175 | +money items list --json |
| 176 | +money items get pi_xxx --json |
| 177 | +money items rename pi_xxx "My Bank" --json |
| 178 | +money items remove pi_xxx --json |
| 179 | +``` |
| 180 | + |
| 181 | +## demo |
| 182 | + |
| 183 | +Run against a non-persistent demo environment with synthetic data. |
| 184 | + |
| 185 | +```bash |
| 186 | +money demo accounts list --json |
| 187 | +money demo transactions list --json --merchant Coffee --pending true --limit 10 |
| 188 | +money demo transactions search coffee --json --limit 5 |
| 189 | +``` |
| 190 | + |
| 191 | +## cashflow |
| 192 | + |
| 193 | +Show income and expenses over time. |
| 194 | + |
| 195 | +```bash |
| 196 | +money cashflow --from 2024-01-01 --to 2024-12-31 |
| 197 | +money cashflow --from 2024-01-01 --to 2024-12-31 --period yearly --json |
| 198 | +``` |
| 199 | + |
| 200 | +## net-worth |
| 201 | + |
| 202 | +Show current net worth across all visible accounts. |
| 203 | + |
| 204 | +```bash |
| 205 | +money net-worth |
| 206 | +money net-worth --json |
| 207 | +``` |
| 208 | + |
| 209 | +## budgets |
| 210 | + |
| 211 | +Manage budgets. |
| 212 | + |
| 213 | +```bash |
| 214 | +money budgets list --json |
| 215 | +money budgets create --name Groceries --period monthly --start-date 2024-01-01 --end-date 2024-12-31 --confirm |
| 216 | +money budgets get <id> --json |
| 217 | +money budgets delete <id> |
| 218 | +``` |
| 219 | + |
| 220 | +## rules |
| 221 | + |
| 222 | +Manage auto-categorization rules. |
| 223 | + |
| 224 | +```bash |
| 225 | +money rules list --json |
| 226 | +money rules create --name "Mark Uber" --condition-field merchant_name --condition-op contains --condition-value uber --action-type set_category --action-value transport --confirm |
| 227 | +money rules apply |
| 228 | +money rules delete <id> |
| 229 | +``` |
| 230 | + |
| 231 | +## budgets categories |
| 232 | + |
| 233 | +Manage budget categories. |
| 234 | + |
| 235 | +```bash |
| 236 | +money budgets categories create --budget-id <id> --name Groceries --limit 50000 --confirm |
| 237 | +money budgets categories delete <id> |
| 238 | +``` |
| 239 | + |
| 240 | +## import |
| 241 | + |
| 242 | +Import accounts and transactions from external sources. |
| 243 | + |
| 244 | +```bash |
| 245 | +money import monarch transactions.csv |
| 246 | +money import csv transactions.csv --dry-run |
| 247 | +money import monarch data.csv --batch-id 20240101 --confirm |
| 248 | +``` |
| 249 | + |
| 250 | +## feedback |
| 251 | + |
| 252 | +Submit feedback. |
| 253 | + |
| 254 | +```bash |
| 255 | +money feedback |
| 256 | +``` |
| 257 | + |
| 258 | +## Global Flags |
| 259 | + |
| 260 | +| Flag | Default | Description | |
| 261 | +|------|---------|-------------| |
| 262 | +| `--config` | | Config file path | |
| 263 | +| `--profile` | `default` | Configuration profile | |
| 264 | +| `-j, --json` | `false` | JSON envelope to stdout | |
0 commit comments