From 14614ec75a8bceba52be0d295b30bc6c8f6578b8 Mon Sep 17 00:00:00 2001 From: Evan Pratten <evan@ewpratten.com> Date: Mon, 20 Nov 2023 12:40:59 -0500 Subject: [PATCH] Improve formatting of basejump --- scripts/basejump-discover | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/basejump-discover b/scripts/basejump-discover index bde2d45..e7cfb19 100755 --- a/scripts/basejump-discover +++ b/scripts/basejump-discover @@ -3,6 +3,7 @@ import argparse import sys import logging import subprocess +import json from pprint import pprint from pathlib import Path @@ -49,7 +50,7 @@ def main() -> int: # Print the results logger.info("Found the following repos:") - pprint(repos) + print(json.dumps(repos, indent=4)) return 0