reworked the implementation to user redding/cli.rb

No external api changes - just reworked the implementation.  Simpler,
no external dependencies.