Extension gems for dry-cli

I hope this doesn’t go a against the rules of engagement, but I am hoping this might help folks using dry-cli as the backbone for their CLI applications.

Having written a dozen of gems based on dry-cli (my gems are available here — see @kigster on rubygems.

I paired with Claude Code on creating three new extension gems, with a 100% rspec coverage, that provide the missing (for me) features:

  • dry-auto-complete adds the completion command for BASH and ZSH (same URL as below, just replace ‘help’ with autocomplete’) since I am limited to two links.
  • dry-cli-help provides global banner, coloring, long description wrapping, and other features
  • dry-cli-ui offers colored error/warning/info boxes, a widgets that shows progress bars, concurrent execution of multiple processes and more. The UI is based on the well known TTY::Toolkit set of gems.

Feedback is always welcome, as are PRs and issues.

I know that a new version of dry-cli is coming soon, so perhaps thats my way of nudging the new features towards the direction I found lacking.

That said, dry-cli is by far the best and most flexible CLI toolkit for building Ruby CLI utilities. I’ve tried them all, believe me.

Kindest regards,

Konstantin Gredeskou