thp / thp/urlwatch

Dict-based style from command line?

Open
#577 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
3.1k
Forks
355
PR merge metrics
No merged PRs in 30d

Description

Is this the correct command to add dict-based style filters from the command line?

String based
urlwatch --add url=http://example.org,name=Example,filter=css:h1

Dict-based
urlwatch --add url=http://example.org,name=Example,filter=-css:h1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is mentioned. Start by locating the command-line handling for urlwatch --add and how string- and dict-based filters are parsed. Done means determining whether the shown dict-based syntax works and documenting the correct command or the needed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.