Skip to content

fix: improve handling of cli boolean params#205

Merged
mnahkies merged 1 commit intomainfrom
mn/fix/cli-booleans
May 25, 2024
Merged

fix: improve handling of cli boolean params#205
mnahkies merged 1 commit intomainfrom
mn/fix/cli-booleans

Conversation

@mnahkies
Copy link
Copy Markdown
Owner

previously setting the environment variable for a boolean option to anything would enable the flag, and it wasn't possible to pass --enable-some-flag false

now you can pass: true, 1 or on to enable a flag, or false, 0 or off to disable a flag (case-insensitive) which should be more intuitive and convenient

@mnahkies mnahkies enabled auto-merge (squash) May 25, 2024 08:27
@mnahkies mnahkies merged commit 24cd899 into main May 25, 2024
@mnahkies mnahkies deleted the mn/fix/cli-booleans branch May 25, 2024 08:30
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