dry-rb / dry-cli

General purpose Command Line Interface (CLI) framework for Ruby
https://dry-rb.org/gems/dry-cli
MIT License
327 stars 41 forks source link

Add :flag option type, for boolean options without the [no-] prefix #117

Closed Billiam closed 3 months ago

Billiam commented 3 years ago

Acts like :boolean, but doesn't imply --[no-] prefix

42

solnic commented 3 years ago

Looks like I broke the gemspec. Sorry about this. I'll push a fix to master today.

cllns commented 3 months ago

Can we get this merged and released? It'd be very nice to get in for Hanami 2.2 (hanami/cli#195)

CI will break on Ruby 3.3 but I have a fix for that in #134

timriley commented 3 months ago

@cllns Done!

@Billiam Thank you for preparing this, we got there in the end! 😄