urlwatch icon indicating copy to clipboard operation
urlwatch copied to clipboard

Feature request: support optional key `disabled`

Open snowman opened this issue 4 years ago • 2 comments

  • disabled: disable watch (default: False)

When set to True, do not watch the specified entry.

snowman avatar Mar 01 '21 08:03 snowman

does using YAML comment not do what you need?

YAML syntax - Wikipedia

example:

# this entry is enabled
url: https://example1.com
---
# this entry is disabled
# url: https://example2.com
# ---
# this entry is enabled
url: https://example3.com

cfbao avatar Mar 07 '21 15:03 cfbao

sorry for not clarifying the issue, currently I use comments to disable watching them.

When you have a long urlwatch entry, by using comments, you have to

  1. Comment multiple lines with selection instead of change one value
  2. Once commented, they don't provide breadcrumb menus to navigate when using VS Code or Emacs.
  3. Results in chaos in git commit history when enable/disable

snowman avatar Mar 08 '21 02:03 snowman