jessfraz / gmailfilters

A tool to sync Gmail filters from a config file to your account.
MIT License
551 stars 33 forks source link

allow export of existing filters #1

Closed jnsn closed 5 years ago

jnsn commented 5 years ago

This pull request adds rudimentary support for exporting the current set of Gmail filters, so you are not forced to start from a blank file.

Basic usage is the same as importing the filters, with the addition of the -e flag.

$ gmailfilters -e -f credentials.json filters.toml

A few things to note:

pryorda commented 5 years ago

@jnsn this is much cleaner then mine over in #2. I'm curious to see what Jess wants to run with. I feel like we could merge some of the functionality.

jessfraz commented 5 years ago

thanks!!!