{"push_id":1039205342,"size":1,"distinct_size":1,"ref":"refs/heads/chore/cli-cleanup","head":"98e490237f1d96036834acd0643a07a08494ae90","before":"9f502a89a1ef8803e1a9a857140c28c70fe0dc1c","commits":[{"sha":"98e490237f1d96036834acd0643a07a08494ae90","author":{"email":"25a3b6cc85a8cde49f8b0f9aa21c050bc04072d4@rangle.io","name":"Seth Davenport"},"message":"Attempt to clean up cli\n\nTrying to make the CLI code easier to deal with.\n\n- Split the big mess of yargs soup into a function for each command.\n- These functions are composed together and applied to the yargs instance\n- These functions are also exported from cli-args.js so they can be unit tested.\n- Error handling is now centralized at the yargs layer as well, using utils.cliErr, when lets you map messages and exit codes to particular errors.\n- The idea is that mid-level service could should just throw exceptions, and the handing will be done at the cli level.\n\nFixes #96","distinct":true,"url":"https://api.github.com/repos/SethDavenport/the-clusternator/commits/98e490237f1d96036834acd0643a07a08494ae90"}]}