Files
cull-gmail/src/label_cli.rs
Jeremiah Russell 8518242302 feat(cli): add label command-line interface
- implement `LabelCli` struct with `run` method for fetching Gmail labels
- integrate `clap` for command-line argument parsing
2025-10-03 17:42:00 +01:00

13 lines
273 B
Rust

use clap::Parser;
use cull_gmail::{Error, Labels};
#[derive(Debug, Parser)]
pub struct LabelCli {}
impl LabelCli {
pub async fn run(&self, credential_file: &str) -> Result<(), Error> {
let _ = Labels::new(credential_file, true).await?;
Ok(())
}
}