pub enum GmailSubcommands {
Auth(AuthCommand),
Account(AccountCommand),
Search(SearchCommand),
Read(ReadCommand),
Thread(ThreadCommand),
Label(LabelCommand),
Sync(SyncCommand),
SyncAll(SyncAllCommand),
ExtractAttachments(ExtractAttachmentsCommand),
Render(RenderCommand),
}Expand description
Gmail subcommands.
Variants§
Auth(AuthCommand)
Manages Gmail OAuth2 credentials (mirrors the gmail_auth_status MCP tool for status).
Account(AccountCommand)
Manages named Gmail accounts (mirrors the gmail_account_list MCP tool for list).
Search(SearchCommand)
Searches Gmail messages (mirrors the gmail_search MCP tool).
Read(ReadCommand)
Reads a single Gmail message (mirrors the gmail_message_read MCP tool).
Thread(ThreadCommand)
Reads a Gmail thread (mirrors the gmail_thread_read MCP tool).
Label(LabelCommand)
Manages Gmail labels (mirrors the gmail_label_list MCP tool; add/remove are CLI-only in Phase 1).
Sync(SyncCommand)
Maintains a durable local archive of a mailbox (CLI-only; no MCP equivalent).
SyncAll(SyncAllCommand)
Maintains durable local archives for every account in
.omni-dev/gmail-sync.yaml, concurrently (CLI-only; no MCP
equivalent; ADR-0068).
ExtractAttachments(ExtractAttachmentsCommand)
Retroactively extracts attachments for already-archived messages, without re-fetching from Gmail (CLI-only; no MCP equivalent; purely local, no client/credentials needed; #1510).
Render(RenderCommand)
Renders one or more archived .eml files as human-readable Markdown
(CLI-only; no MCP equivalent; purely local, no client/credentials
needed; #1513).
Trait Implementations§
Source§impl FromArgMatches for GmailSubcommands
impl FromArgMatches for GmailSubcommands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for GmailSubcommands
impl Subcommand for GmailSubcommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand