refactor: 🎨 Update derive attributes

This commit is contained in:
Sergio Gasquez 2022-10-05 11:41:11 +02:00
parent cb8bee29ae
commit 64bc296d62

View File

@ -26,13 +26,14 @@ mod utils;
const DEFAULT_EXPORT_FILE: &str = "export-esp.ps1";
#[cfg(not(windows))]
const DEFAULT_EXPORT_FILE: &str = "export-esp.sh";
#[derive(Parser)]
#[clap(name = "espup")]
#[clap(bin_name = "espup")]
#[clap(arg_required_else_help(true))]
#[clap(version)]
#[clap(about)]
#[command(
name = "espup",
bin_name = "espup",
version,
about,
arg_required_else_help(true)
)]
struct Cli {
#[command(subcommand)]
subcommand: SubCommand,