use std::path::PathBuf;
use clap::{Parser, Subcommand};
#[derive(Debug, Parser)]
#[command(
name = "skillpack",
bin_name = "skillpack",
version,
about = "Generate and verify the agent-distribution layer (Claude Code skill packs) for any OSS project."
)]
pub struct Cli {
#[command(subcommand)]
pub command: Commands,
#[arg(long, global = true)]
pub verbose: bool,
#[arg(long, global = true)]
pub debug: bool,
}
#[derive(Debug, Subcommand)]
pub enum Commands {
Init {
#[arg(long, value_name = "DIR", default_value = ".")]
root: PathBuf,
#[arg(long)]
non_interactive: bool,
#[arg(long)]
accept_warnings: bool,
#[arg(long, value_name = "SPDX")]
license: Option<String>,
},
Verify {
#[arg(long, value_name = "DIR", default_value = ".")]
root: PathBuf,
},
}