trivago / chapi

chronos & marathon console client - Manage your jobs like a git repository
MIT License
14 stars 10 forks source link

Added flag strict to be able get meaningful exit-code #99

Closed busrakoken closed 7 years ago

busrakoken commented 7 years ago

Added the flag strict for the bin/chapi status and bin/chapi diff commands.

This will help to get meaningful exit-code like below: bin/chapi status --strict will return exit-code 1 if there are changes to commit, otherwise 0. bin/chapi diff --strict will return exit-code 1 if there are differences between jobs, otherwise 0.