rusty-tasks/src/cli/mod.rs

14 lines
293 B
Rust
Raw Normal View History

2024-02-22 02:16:58 -05:00
use clap::Parser;
#[derive(Parser, Debug)]
#[command(version, about)]
pub struct Args {
/// set config file to use
#[arg(short, long, value_name = "FILE")]
pub config: Option<String>,
/// show current config file
#[arg(short = 'C', long)]
pub current_config: bool,
}