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 subcommandAuto Trait Implementations§
impl Freeze for GmailSubcommands
impl RefUnwindSafe for GmailSubcommands
impl Send for GmailSubcommands
impl Sync for GmailSubcommands
impl Unpin for GmailSubcommands
impl UnsafeUnpin for GmailSubcommands
impl UnwindSafe for GmailSubcommands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more