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