Download pre-compiled binaries for Mac, Windows and Linux from the releases page.
gmxcli
is largely self-documenting. Run gmxcli -h
for a list of supported commands.
$ gmxcli labels list
...
$ gmxcli filters delete # delete ALL existing filters, use with caution!
...
$ gmxcli filters upload -c gmxcli.yaml # Upload filters defined in the config file
...
# Sample configuration
filters:
-
criteria:
to: "me"
action:
addLabelIds: ["To me"]
removeLabelIds: ["INBOX", "UNREAD"]
-
criteria: ...