Skip to content

Accept boolish values for env-settable bool flags - #3668

Open
ChihweiLHBird wants to merge 1 commit into
spinframework:mainfrom
ChihweiLHBird:cli-bool-arg-boolish-parser
Open

Accept boolish values for env-settable bool flags#3668
ChihweiLHBird wants to merge 1 commit into
spinframework:mainfrom
ChihweiLHBird:cli-bool-arg-boolish-parser

Conversation

@ChihweiLHBird

@ChihweiLHBird ChihweiLHBird commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Supporting broader boolish values, like 1, 0, yes by adding BoolishValueParser.

Note that some input arguments are impacted by a conflicting issue caused by a clap issue clap-rs/clap#5591 which is a pre-existing issue before this PR. An example is even if DISABLE_WASMTIME_CACHE is set to false, it still conflicts to WASMTIME_CACHE_FILE. Clap check whether it's set rather than whether it's set to true.

Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant