aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.toml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-02 02:44:16 +0900
committernsfisis <nsfisis@gmail.com>2026-06-02 02:44:16 +0900
commitf8633e1647e42700ee20c8b77353ef992800dc76 (patch)
treed594d42ec9bb165b2e49bd32366a47ac29a0370a /Cargo.toml
parent20dbcf11b86cb03c451ba1d5cd9efe17b68fa66d (diff)
downloadphp-shirabe-f8633e1647e42700ee20c8b77353ef992800dc76.tar.gz
php-shirabe-f8633e1647e42700ee20c8b77353ef992800dc76.tar.zst
php-shirabe-f8633e1647e42700ee20c8b77353ef992800dc76.zip
feat(cli): parse the Composer CLI with bpaf combinatorsfeat/cli-parse
Add a cli module that reproduces every command's argument/option set from the PHP configure() definitions using bpaf combinators (no derive). Output is per-command typed structs plus a top-level Command enum; the bridge into Symfony Console Input is deferred. Verbosity is unified into the global option and bump-after-update models VALUE_OPTIONAL as a three-state enum. Known limitation (bundled subcommand short flags) is recorded as a TODO in the module. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index accaec5..df3378e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,6 +15,7 @@ shirabe-semver = { path = "crates/shirabe-semver" }
anyhow = "1.0.102"
async-trait = "0.1.89"
base64 = "0.22.1"
+bpaf = "0.9.26"
chrono = { version = "0.4.44", features = ["serde"] }
indexmap = { version = "2.14.0", features = ["serde"] }
md5 = "0.7.0"