gmailctl lets you define Gmail filters and labels in a configuration file and apply them to your account from the terminal. It is aimed at people who manage a larger set of filters and want them kept in version control rather than clicked together in the Gmail settings page.
The configuration is written in Jsonnet, a data templating language, so rules can be shared or generated. The tool is written in Go and runs from the command line only. The source code is public under the MIT license.
Alternatives to gmailctl
Products that do a similar job in Files & Sync.
yt-dlp
command-line downloader for video and audio from many websites
nnn
Terminal file manager with a minimal, keyboard-driven interface
eza
command-line replacement for ls with colour, icons and git status
superfile
Terminal file manager with a multi-panel interface for Linux
qrcp
command-line tool that sends files to a phone by QR code over wifi
lf
Terminal file manager for browsing and managing files from the shell
ffsend
Command-line client for sharing encrypted files via Firefox Send
s3cmd
Command line client for managing S3-compatible object storage