Fix completions for utils and add description
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
name = "pallet"
|
||||
version = "1.0.3"
|
||||
edition = "2024"
|
||||
description = "A project manager and build system for C inspired by Rust's Cargo"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.6.0", features = ["derive"] }
|
||||
|
||||
@@ -12,7 +12,7 @@ const MAIN_C: &str = include_str!("templates/main.c");
|
||||
const GITIGNORE: &str = "target/";
|
||||
|
||||
#[derive(clap::Parser)]
|
||||
#[clap(version)]
|
||||
#[clap(version, about)]
|
||||
pub struct App {
|
||||
#[clap(subcommand)]
|
||||
command: Subcommand,
|
||||
@@ -54,6 +54,7 @@ enum UtilSubcommand {
|
||||
/// Generate shell completions
|
||||
Completions {
|
||||
/// The shell to generate completions for
|
||||
#[arg(value_enum, long, short)]
|
||||
shell: ShellCompletions,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user