From c6180948c0e395ddc9dc937fb40ca62ad0ffad0c Mon Sep 17 00:00:00 2001 From: Joe Kaufeld Date: Thu, 28 Jul 2022 13:33:12 -0400 Subject: [PATCH] fix help message and update locals for repl --- src/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli.py b/src/cli.py index d9396df..29f5d21 100644 --- a/src/cli.py +++ b/src/cli.py @@ -19,9 +19,10 @@ from src.art import BANNERS @click.pass_context @click.version_option(version=src.__version__, prog_name="utils") def main(ctx): + """Launch a utility or drop into a command line REPL if no command is given.""" if ctx.invoked_subcommand is None: banner = random.choice(BANNERS) - code.interact(banner=banner, local=locals()) + code.interact(banner=banner, local=globals()) sys.exit()