use std::path::PathBuf;
use clap::{Parser, Subcommand};
use crate::commands::job::cli::JobArgs;
use crate::commands::keyring::cli::KeyringArgs;
#[derive(Parser, Debug)]
#[command(name = "pigeon", version, about, long_about = None)]
pub struct Cli {
#[command(subcommand)]
pub command: Commands,
#[arg(long, global = true)]
pub log_level: Option<String>,
#[arg(long, global = true)]
pub log_file: Option<PathBuf>,
#[arg(long, global = true)]
pub metrics_port: Option<u16>,
#[arg(long, global = true)]
pub no_metrics: bool,
}
#[derive(Subcommand, Debug)]
pub enum Commands {
Keyring(KeyringArgs),
Job(JobArgs),
}