chainmail label
Add and remove Gmail labels. Refs come from the arguments, or one per line on stdin when the only argument is -.
Usage
chainmail label <ref>... [--add <label>]... [--remove <label>]... [flags]
Examples
chainmail label cm1:gmail:INBOX:3:17:g1790000000000000001 --add Receipts --remove Todo
Flags
--add stringArray a label to add, created if missing (repeatable)
--remove stringArray a label to remove (repeatable)
Global flags
--output string output format: json or table (default $CHAINMAIL_OUTPUT, then cli.toml, then table on a terminal, json otherwise)
--socket string daemon socket (default $CHAINMAIL_SOCKET, then cli.toml, then /run/chainmail/chainmail.sock)