feat: add CLI asset generation for shell completions and man page

This commit is contained in:
2026-02-28 01:01:33 -06:00
parent ce5fefa833
commit b8a2cfa9be
9 changed files with 177 additions and 2 deletions
+7
View File
@@ -112,6 +112,13 @@ pub enum Commands {
},
/// Show current configuration
Config,
/// Generate shell completion scripts and a man page into an output directory.
#[command(hide = true)]
GenerateArtifacts {
/// Output directory for generated files
#[arg(long, value_name = "DIR")]
out_dir: PathBuf,
},
/// Create a new package specification interactively
MakeSpec {
/// Output file path (defaults to <name>.toml)