pub mod get;
use anyhow::Result;
use clap::Subcommand;
use pimalaya_cli::printer::Printer;
use crate::{
account::context::Account,
gmail::{client::GmailClient, profile::get::GmailProfileGetCommand},
};
#[derive(Debug, Subcommand)]
pub enum GmailProfileCommand {
Get(GmailProfileGetCommand),
}
impl GmailProfileCommand {
pub fn execute(
self,
printer: &mut impl Printer,
_account: &mut Account,
client: &mut GmailClient,
) -> Result<()> {
match self {
Self::Get(cmd) => cmd.execute(printer, client),
}
}
}