Skip to content

Commit 60b115c

Browse files
author
EchoBT
committed
feat(csudo): complete CLI refactoring with beautiful interactive mode
- Reorganize commands: csudo list challenges, csudo add challenge, etc. - Add interactive mode with menu navigation (csudo interactive) - Add beautiful tables for displaying challenges, mechanisms, validators - Add fuzzy search for selecting items to edit/remove - Add progress indicators and colored output - Add edit challenge command with field selection - Support both interactive and non-interactive modes - Use dialoguer for prompts, comfy-table for tables, colored for output
1 parent 00690e7 commit 60b115c

File tree

3 files changed

+1253
-609
lines changed

3 files changed

+1253
-609
lines changed

Cargo.lock

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

bins/csudo/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ hex = { workspace = true }
3030
parking_lot = { workspace = true }
3131
uuid = { workspace = true }
3232
reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false }
33+
34+
# Beautiful CLI
35+
console = "0.15"
36+
dialoguer = { version = "0.11", features = ["fuzzy-select"] }
37+
indicatif = "0.17"
38+
colored = "2.1"
39+
comfy-table = "7.1"

0 commit comments

Comments
 (0)