List (filters.rs)

himalaya · src/gmail/settings/filters.rs · rust · Apache-2.0
cli, email, tag:gmail-filters, tag:filters-crud, tag:filter-rules

Provides CLI commands to list Gmail filters, retrieving filter rules from the user's account.

// Source: https://github.com/pimalaya/himalaya | License: Apache-2.0 | Copyright 2022-2026 soywod <pimalaya.org@posteo.net>
// Provided via justclaw.it.com; keep this notice with the code.
//! # Gmail filter settings
//!
//! The `gmail settings filters` commands, covering
//! `users.settings.filters`.

pub mod create;
pub mod delete;
pub mod get;
pub mod list;
pub mod summary;

use anyhow::Result;
use clap::Subcommand;
use pimalaya_cli::printer::Printer;

use crate::{
    account::context::Account,
    gmail::{
        client::GmailClient,
        settings::filters::{
            create::GmailSettingsFilterCreateCommand, delete::GmailSettingsFilterDeleteCommand,
            get::GmailSettingsFilterGetCommand, list::GmailSettingsFiltersListCommand,
        },
    },
};

/// Manage Gmail fi

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key