email/cli.rs

himalaya · src/jmap/email/cli.rs · rust · Apache-2.0
email

CLI for managing JMAP emails via subcommands.

// 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.
//! # JMAP email command
//!
//! The `jmap email` command, dispatching onto its subcommands.

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

use crate::{
    account::context::Account,
    jmap::{
        client::JmapClient,
        email::{
            copy::JmapEmailCopyCommand, delete::JmapEmailDestroyCommand,
            export::JmapEmailExportCommand, get::JmapEmailGetCommand,
            import::JmapEmailImportCommand, parse::JmapEmailParseCommand,
            query::JmapEmailQueryCommand, read::JmapEmailReadCommand,
            update::JmapEmailUpdateCommand,
     

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

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

Get a free API key