mirror of
https://github.com/egor-white/zaprett.git
synced 2025-12-10 05:19:42 +05:00
14 lines
227 B
Rust
14 lines
227 B
Rust
pub mod commands;
|
|
|
|
use clap::Parser;
|
|
use commands::Command;
|
|
use getset::Getters;
|
|
|
|
#[derive(Parser, Getters)]
|
|
#[command(version)]
|
|
#[getset(get = "pub")]
|
|
pub struct CliApp {
|
|
#[command(subcommand)]
|
|
cmd: Option<Command>,
|
|
}
|