crowbar/barclamp-crowbar — pull request #810 by VictorLowther (2013-12-17 04:20:40+00:00)
Title: New, improveder API and CLI handling for CB 2.0 [1/1]

This pull request builds on the last one by adding improved support
for multi-argument commands, better (but still rudimentary) help, and
better automatic generation of command line patterns from method
names.

On the server side, it makes all easily-accessible error paths return
JSON wrapped errors with proper status codes whenever we are talking JSON.

bin/crowbar | 505 ++++++++++++++++-----
.../app/controllers/application_controller.rb | 130 ++++--
.../app/controllers/deployments_controller.rb | 9 -
.../app/controllers/nodes_controller.rb | 8 +
crowbar_framework/config/routes.rb | 2 +-
5 files changed, 489 insertions(+), 165 deletions(-)

Crowbar-Pull-ID: dd62f62a06f9c85d18f343d9bfb729401e65b330

Crowbar-Release: development