18 lines
350 B
Rust
18 lines
350 B
Rust
//! CLI parameters
|
|
|
|
use clap::{Parser, Subcommand};
|
|
|
|
#[derive(Debug, Parser)]
|
|
#[command(version, about, long_about = None)]
|
|
pub struct Args {
|
|
#[command(subcommand)]
|
|
pub command: Command,
|
|
}
|
|
|
|
#[derive(Debug, Subcommand, PartialEq)]
|
|
pub enum Command {
|
|
/// Downloads the card data
|
|
DownloadData,
|
|
/// Terminal User Interface
|
|
Tui,
|
|
}
|