From fc2e10f9ad2fa33e1e04b73ba3ddd53e658c0aa7 Mon Sep 17 00:00:00 2001 From: Joe Kaufeld Date: Sun, 23 Apr 2023 16:04:23 -0400 Subject: [PATCH] add local scope to shell --- pyproject.toml | 2 +- src/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5f322c7..7ad3651 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "src" -version = "0.2.0" +version = "0.2.1" description = "" authors = ["Joe Kaufeld "] diff --git a/src/cli.py b/src/cli.py index 0d7a62d..3d410fa 100644 --- a/src/cli.py +++ b/src/cli.py @@ -39,7 +39,7 @@ def main(ctx, update): pretty.install() # type: ignore install() # traceback handler - code.interact(banner, None) + code.interact(local=globals(), banner=banner) sys.exit()