|
7 | 7 |
|
8 | 8 | A CLI application that syncs Walmart, Costco, and Amazon purchases with Monarch Money, automatically categorizing items and splitting transactions. It includes: |
9 | 9 | - **CLI tool** for command-line syncing |
10 | | -- **API server** (`./monarch-sync serve`) for programmatic access |
| 10 | +- **API server** (`./itemize serve`) for programmatic access |
11 | 11 |
|
12 | 12 | ## Quick Reference |
13 | 13 |
|
14 | 14 | ### Build and Run |
15 | 15 | ```bash |
16 | 16 | # Build Go backend |
17 | | -go build -o monarch-sync ./cmd/monarch-sync/ |
| 17 | +go build -o itemize ./cmd/itemize/ |
18 | 18 |
|
19 | 19 | # Run with dry-run (preview, no changes) |
20 | | -./monarch-sync walmart -dry-run -days 14 -verbose |
21 | | -./monarch-sync costco -dry-run -days 7 |
| 20 | +./itemize walmart -dry-run -days 14 -verbose |
| 21 | +./itemize costco -dry-run -days 7 |
22 | 22 |
|
23 | 23 | # Apply changes |
24 | | -./monarch-sync walmart -days 14 |
25 | | -./monarch-sync costco -days 7 -max 10 |
| 24 | +./itemize walmart -days 14 |
| 25 | +./itemize costco -days 7 -max 10 |
26 | 26 |
|
27 | 27 | # Force reprocess already-processed orders |
28 | | -./monarch-sync walmart -force |
| 28 | +./itemize walmart -force |
29 | 29 |
|
30 | 30 | # Start API server |
31 | | -./monarch-sync serve -port 8085 |
| 31 | +./itemize serve -port 8085 |
32 | 32 | ``` |
33 | 33 |
|
34 | 34 | ### Test |
@@ -230,7 +230,7 @@ This gives us clean code with proper level-based filtering instead of scattered |
230 | 230 | ## File Organization |
231 | 231 |
|
232 | 232 | ### Where Things Live |
233 | | -- **Entry point:** [cmd/monarch-sync/main.go](cmd/monarch-sync/main.go) |
| 233 | +- **Entry point:** [cmd/itemize/main.go](cmd/itemize/main.go) |
234 | 234 | - **Business logic:** `internal/domain/` |
235 | 235 | - **Workflow coordination:** `internal/application/sync/` |
236 | 236 | - **External APIs:** `internal/adapters/` |
@@ -388,7 +388,7 @@ See [internal/infrastructure/storage/sqlite.go](internal/infrastructure/storage/ |
388 | 388 | ## Project Scope |
389 | 389 |
|
390 | 390 | - ✅ **CLI tool** - Primary command-line interface |
391 | | -- ✅ **API server** - HTTP endpoints for programmatic access (`./monarch-sync serve`) |
| 391 | +- ✅ **API server** - HTTP endpoints for programmatic access (`./itemize serve`) |
392 | 392 | - ❌ **NOT a Chrome extension** - Direct provider API integration |
393 | 393 | - ❌ **NOT a SaaS** - Local deployment only |
394 | 394 | - ❌ **NOT real-time** - Manual runs or scheduled via cron |
|
0 commit comments