You can easily add a new client, or a new command.
- create the client api under lib/safe_pusher/client/***.rb
- require it in lib/safe_pusher.rb
- write the specs for your client, then submit a PR
You will be able to specify in which command to use it, via the configuration !
- configure your command and its client in config/commands.yml
- create your safepusher client api, as detailed above (if necessary)
- include your command's description in the help, in config/en.yml
Bug reports and pull requests are welcome on GitHub at williampollet/safe_pusher. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
Setup development:
$ bin/setup
Open a console:
$ bin/console
Test the CLI:
$ ruby -Ilib exe/safepush
Launch specs and lint:
$ rake