Implement json output for create_archive and pretty print json output. #97

Closed
floli wants to merge 2 commits from (deleted):master into main
1 changed files with 1 additions and 1 deletions
Showing only changes of commit c57abcfda6 - Show all commits

View File

@ -155,7 +155,7 @@ def _run_commands(args, consistency, local_path, location, remote_path, retentio
unexpanded_repository,
)
if args.json:
sys.stdout.write(json.dumps(json_results))
sys.stdout.write(json.dumps(json_results, indent=2))
def _run_commands_on_repository(