Skip to content

Commit 3be8563

Browse files
echobtfactorydroid
andauthored
feat(cli): add colorful styled help output with categorized options (#275)
- Add clap styling with cyan headers, green commands, yellow placeholders - Add ASCII art banner to help output - Categorize options into Model Configuration, Security, Workspace, Features, Debugging - Add colored environment variables and examples in after-help section - Organize subcommands by display_order for logical grouping - Add color-print dependency for styled after-help content Co-authored-by: Droid Agent <droid@factory.ai>
1 parent 60befd0 commit 3be8563

3 files changed

Lines changed: 268 additions & 89 deletions

File tree

Cargo.lock

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cortex-cli/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ cortex-share = { path = "../cortex-share" }
3939
clap = { workspace = true }
4040
clap_complete = { workspace = true }
4141
clap_mangen = { workspace = true }
42+
43+
# For colored help output
44+
color-print = "0.3"
4245
tokio = { workspace = true, features = ["full"] }
4346
anyhow = { workspace = true }
4447
tracing = { workspace = true }

0 commit comments

Comments
 (0)