Fix completions for utils and add description

This commit is contained in:
2026-03-22 21:22:03 -05:00
parent c13d6e54ee
commit 2f7cc9c150
2 changed files with 3 additions and 1 deletions

View File

@@ -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"] }

View File

@@ -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,
},
}