Skip to content

Commit 6af0fd8

Browse files
bordumbclaude
andcommitted
feat: complete CLI docs coverage with expandable flag tables (WIP)
- Switch gen_docs parser from --help to -h for single-line flag descriptions - Add continuation line handling for clap's wrapped long descriptions - Add all missing primary commands (sign, whoami, tutorial, doctor) - Add all missing advanced commands (git, trust, org, audit, agent, witness, scim, config, approval, artifact, completions) - Add about text to LearnCommand, CommitCmd, DebugCmd structs - Generate HTML tables with command descriptions from help output - Add expandable flag tables: top 5 flags visible, "Show all flags" toggle for the rest (pure CSS checkbox hack — not yet working, needs debugging) - Add flags-container CSS styling for light/dark mode Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b7d6ed7 commit 6af0fd8

7 files changed

Lines changed: 1910 additions & 209 deletions

File tree

crates/auths-cli/src/commands/commit/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use crate::commands::verify_commit::VerifyCommitCommand;
77
use crate::config::CliConfig;
88

99
#[derive(Args, Debug, Clone)]
10+
#[command(about = "Low-level commit signing and verification")]
1011
pub struct CommitCmd {
1112
#[command(subcommand)]
1213
pub command: CommitSubcommand,

crates/auths-cli/src/commands/debug/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use crate::commands::utils::UtilCommand;
88
use crate::config::CliConfig;
99

1010
#[derive(Args, Debug, Clone)]
11+
#[command(about = "Internal debugging utilities")]
1112
pub struct DebugCmd {
1213
#[command(subcommand)]
1314
pub command: DebugSubcommand,

crates/auths-cli/src/commands/learn.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use std::process::Command as ProcessCommand;
88

99
/// Interactive tutorial for learning Auths concepts.
1010
#[derive(Parser, Debug, Clone)]
11+
#[command(about = "Interactive tutorial for learning Auths concepts")]
1112
pub struct LearnCommand {
1213
/// Skip to a specific section (1-6).
1314
#[clap(long, short, value_name = "SECTION")]

0 commit comments

Comments
 (0)