feat(label_cli): implement label listing subcommand

- add `list` subcommand to `label` subcommand
- implement `run` function for `ListCli` to handle listing labels
This commit is contained in:
Jeremiah Russell
2025-10-09 07:12:59 +01:00
committed by Jeremiah Russell
parent 0082b327f7
commit 362ad93adf

View File

@@ -0,0 +1,16 @@
use clap::Parser;
use cull_gmail::{Config, Result};
#[derive(Debug, Parser)]
pub struct ListCli {
/// Id of the rule on which action applies
#[clap(short, long)]
id: usize,
}
impl ListCli {
pub fn run(&self, _config: Config) -> Result<()> {
Ok(())
}
}