From f8633e1647e42700ee20c8b77353ef992800dc76 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 2 Jun 2026 02:44:16 +0900 Subject: feat(cli): parse the Composer CLI with bpaf combinators 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 --- crates/shirabe/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/shirabe/Cargo.toml') diff --git a/crates/shirabe/Cargo.toml b/crates/shirabe/Cargo.toml index aed4c1c..70de6c3 100644 --- a/crates/shirabe/Cargo.toml +++ b/crates/shirabe/Cargo.toml @@ -11,6 +11,7 @@ shirabe-semver.workspace = true anyhow.workspace = true async-trait.workspace = true base64.workspace = true +bpaf.workspace = true chrono.workspace = true indexmap.workspace = true md5.workspace = true -- cgit v1.3.1