From e261e22d65ce5fc3f04b3ff94b978d6176d5caa7 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Thu, 16 Sep 2021 23:49:31 -0400 Subject: [PATCH] [+] prompt.py: Create debug command --- scripts/helpers/prompt.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/helpers/prompt.py b/scripts/helpers/prompt.py index e9b9da8..48dc46c 100755 --- a/scripts/helpers/prompt.py +++ b/scripts/helpers/prompt.py @@ -33,7 +33,12 @@ def show(ctx, color: bool): if color: s = replace_color(s) print(s) - print(parts) + + +@cli.command() +@click.pass_context +def debug(ctx): + print(ctx.obj['parts']) @cli.command()