mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-30 22:30:53 +00:00
refactor: 🎨 Update derive attributes
This commit is contained in:
parent
cb8bee29ae
commit
64bc296d62
13
src/main.rs
13
src/main.rs
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user