Brian C. Lane
f0dd50fbae
Update projects.py to use new handle_api_result
...
Use the new function to properly handle error responses for all the
commands.
(cherry picked from commit 77767cd93a
)
2018-08-06 16:52:56 -07:00
Brian C. Lane
18521cec1a
composer-cli: Fix non-zero epoch in projets info
...
The json value is an int, so convert it to a str.
2018-07-25 11:35:03 -07:00
Brian C. Lane
83680d92b0
Check /projects responses for null values.
...
Some values can be null/None so check for that instead of crashing.
(cherry picked from commit f916e41d00
)
2018-07-18 16:01:18 -07:00
Chris Lumens
bb8fdcb854
Add help output to each subcommand.
...
This is the same as the output at the top level, just trimmed down to
only the options for a single subcommand. It's trigged by providing
"help" or "--help" as a subcommand option.
(cherry picked from commit 954f330ace
)
2018-07-18 11:58:56 -07:00
Brian C. Lane
825d1931e4
Add composer-cli and tests
2018-05-14 13:00:15 -07:00