♻️ refactor(cli): restructure cli commands for better organization

- rename `label_cli.rs` to `labels_cli.rs`
- rename `message_cli.rs` to `messages_cli.rs`
- move config related commands to `rules config` subcommand
- introduce `rules run` subcommand
This commit is contained in:
Jeremiah Russell
2025-10-15 10:55:32 +01:00
committed by Jeremiah Russell
parent 7c2bcd37b4
commit 3beab7d82d
14 changed files with 101 additions and 77 deletions

12
src/cli/labels_cli.rs Normal file
View File

@@ -0,0 +1,12 @@
use clap::Parser;
use cull_gmail::{Error, GmailClient};
#[derive(Debug, Parser)]
pub struct LabelsCli {}
impl LabelsCli {
pub async fn run(&self, client: GmailClient) -> Result<(), Error> {
client.show_label();
Ok(())
}
}