Documentation
¶
Overview ¶
Package tag implements an [actions.Runner] that manages tags in a notification.
Tags are stored sorted and unique.
It takes as arguments the tags to add prefixed by `+` and the tags to remove prefixed by `-`. If a tag is not prefixed, it is added.
E.g.: `tag0 -tag1 +tag2` will add `tag0` and `tag2` and remove `tag1`.
Adding an existing tag is a no-op. Removing a missing tag is a no-op.
Usage in the config:
rules: - action: tag args: [+tag0, -tag1]
Usage in the REPL:
:tag +tag0 -tag1
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.