dee-pricewatch-0.1.0 is not a library.
dee-pricewatch
Monitor webpage prices and detect drops.
Install
cargo install dee-pricewatch
Usage
dee-pricewatch add <url> [--label <name>] [--target-price <price>] [--selector <css>] [--currency <code>] [--initial-price <price>] [--json] [--quiet] [--verbose]
dee-pricewatch list [--json] [--quiet] [--verbose]
dee-pricewatch check [watch] [--timeout-secs <seconds>] [--json] [--quiet] [--verbose]
dee-pricewatch delete <watch> [--json] [--quiet] [--verbose]
Examples
dee-pricewatch add "https://example.com/product" --label "Desk Lamp" --target-price 29.99 --json
dee-pricewatch list --json
dee-pricewatch check --json
dee-pricewatch check 1 --json
dee-pricewatch delete 1 --json
JSON Contract
Success list:
{"ok":true,"count":1,"items":[{"id":1,"url":"https://example.com/product","label":"Desk Lamp","target_price":29.99,"created_at":"2026-03-01T00:00:00Z","updated_at":"2026-03-01T00:00:00Z"}]}
Success action:
{"ok":true,"message":"Watch added","id":1}
Error:
{"ok":false,"error":"Watch not found","code":"NOT_FOUND"}
Storage
- Data:
~/.local/share/dee-pricewatch/pricewatch.db
- Config: none