1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::{Arg, ArgAction, Command};

pub fn build_cli() -> Command {
    Command::new("enc")
        .about("AES-256 encryption and decryption")
        .arg(
            Arg::new("decrypt")
                .short('d')
                .long("decrypt")
                .help("Decryption mode")
                .required(false)
                .action(ArgAction::SetTrue),
        )
}