Skip to content

Favorites command #19

@pasogott

Description

@pasogott

Command: whcli favorites

List Favorites

whcli favorites
whcli favorites --format json

Add to Favorites

whcli favorites add <adId>

Remove from Favorites

whcli favorites rm <adId>

API (needs reverse engineering)

Check browser DevTools when adding to favorites:

  • Likely POST to /userfolders/ or similar
  • May use different endpoint

Output

Your Favorites (3 items)
========================
┌──────────┬────────────────────────────────┬────────┐
│ ID       │ Title                          │ Price  │
├──────────┼────────────────────────────────┼────────┤
│ 12345678 │ RTX 4090 Gaming OC             │ €1.200 │
│ 12345679 │ iPhone 15 Pro Max              │ €900   │
└──────────┴────────────────────────────────┴────────┘

Metadata

Metadata

Assignees

No one assigned

    Labels

    phase-3Phase 3: Features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions