chore(cli): Migrate to Derive API

Change the definition of CLI from the Builder API to the Derive API.
This commit is contained in:
Shun Sakai
2025-05-15 21:11:41 +09:00
committed by andy.boot
parent 6a14d7e8b3
commit 702f0f0fe9
12 changed files with 514 additions and 538 deletions

View File

@@ -28,7 +28,7 @@ strip = true
[dependencies]
ansi_term = "0.12"
clap = "4.4"
clap = { version = "4.4", features = ["derive"] }
lscolors = "0.13"
terminal_size = "0.2"
unicode-width = "0.1"
@@ -56,7 +56,7 @@ assert_cmd = "2"
tempfile = "=3"
[build-dependencies]
clap = "4.4"
clap = { version = "4.4", features = ["derive"] }
clap_complete = "4.4"
clap_mangen = "0.2"