aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.lock
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.lock
parent20dbcf11b86cb03c451ba1d5cd9efe17b68fa66d (diff)
downloadphp-shirabe-feat/cli-parse.tar.gz
php-shirabe-feat/cli-parse.tar.zst
php-shirabe-feat/cli-parse.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.lock')
-rw-r--r--Cargo.lock7
1 files changed, 7 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 55fac3c..3267b33 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -92,6 +92,12 @@ dependencies = [
]
[[package]]
+name = "bpaf"
+version = "0.9.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b86829876e7e200161a5aa6ea688d46c32d64d70ee3100127790dde84688d6e"
+
+[[package]]
name = "bumpalo"
version = "3.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -971,6 +977,7 @@ dependencies = [
"anyhow",
"async-trait",
"base64",
+ "bpaf",
"chrono",
"indexmap",
"md5",