use std::ffi::OsString;
use std::path::PathBuf;
use clap::Args as Arguments;
use clap::Parser;
use clap::Subcommand;
#[derive(Debug, Parser)]
#[clap(version = env!("VERSION"))]
pub struct Args {
#[command(subcommand)]
pub command: Command,
}
#[derive(Debug, Subcommand)]
pub enum Command {
Deploy(Deploy),
}
#[derive(Debug, Arguments)]
pub struct Deploy {
pub archive: PathBuf,
#[clap(short, long)]
pub user: Option<OsString>,
#[clap(short, long)]
pub remove: bool,
#[clap(short, long, num_args(1..))]
pub command: Option<Vec<OsString>>,
}