Add JSON output to the `rbt close` command.
This change adds JSON output to the `rbt close` command.
Testing Done:
Ran unit tests.
Tested `rbt close` with and without `--json`
Reviewed at
@@ -69,3 +69,5 @@ class Close(Command):
self.stdout.write('Review request #%s is set to %s.'
% (review_request_id, review_request.status))
+ self.json.add('review_request', review_request_id)
+ self.json.add('status', review_request.status)
