Yacli a.k.a yet another CLI, is a simple gem allowing to build custom CLI wrappers. It uses Optimist as a CLI option manager as well as additional minimal helpers for logging and output handling.
Please note: Yacli, by design, is a system tool created to allow seamless file and url access, which should not receive application user input. It relies on open-uri, which combined with application user input would provide a command injection attack vector.
You will need the following:
- Ruby 2.5+
- Bundler
Docker integration:
- TBD
Add this line to your application's Gemfile:
gem 'yacli'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install yacli
TBD:
tbd
$ yacli help [COMMAND] # Describe expanded available commands or one specific command
Wish-list of features TODO file for suggestions.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Released under the MIT License. See the LICENSE file for further details.