add support for --list --json #74

Merged
witten merged 5 commits from :list-json into master 2018-07-28 21:21:39 +00:00

5 Commits

Author SHA1 Message Date
Thomas LÉVEIL 35402c28e1 [TEST] add unit test for `_run_commands` 2018-07-25 20:33:17 +02:00
Thomas LÉVEIL 7a4c41c12c `list_archives()` uses `subprocess.check_output()`
instead of `subprocess.check_call(..., stdout=temp_file)`
2018-07-25 20:33:17 +02:00
Thomas LÉVEIL 76b5953959 `list_archives()` unconditionally returns the output value
(regardless of JSON or not)
2018-07-25 20:33:17 +02:00
Thomas LÉVEIL 8e14846872 [style] alphabetical ordering on the imports 2018-07-25 20:33:17 +02:00
Thomas LÉVEIL 5e231af95d add support for `--list --json` 2018-07-25 20:33:17 +02:00