♻️ refactor(cli): move label_cli to cli directory
- moves label_cli.rs to the cli directory for better organization
This commit is contained in:
committed by
Jeremiah Russell
parent
de91753f88
commit
ec0f160317
12
src/cli/label_cli.rs
Normal file
12
src/cli/label_cli.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
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(())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user