tsiemens / gmail-tools

Cli Tools for Gmail filters
MIT License
11 stars 1 forks source link

Replace archive with a suggested alias #17

Closed tsiemens closed 4 years ago

tsiemens commented 4 years ago

Need to add new options for --obsolete and --archive to the search command first

tsiemens commented 4 years ago

Resolved with f1ab06e , ca15a4b , cb96ece

This is also in the example config, but archive is essentially replaced by the following alias, if added to your config.yaml:

Aliases:
   archive: search -q --archive --add-label MyArchiveLabel --uninteresting "in:inbox category:{updates forums} $1"
   archive-outdated: search -q --archive --add-label MyArchiveLabel --outdated "in:inbox category:{updates forums} $1"

The user can obviously tweak these to their own preferred use case.