From ae444d1bc7b8223c0d4622a4d4e566e8bf0564d9 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 3 Aug 2023 13:56:23 -0400 Subject: [PATCH] Add note about `xonsh.main.main()` attempted usage --- piker/accounting/cli.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/piker/accounting/cli.py b/piker/accounting/cli.py index 79f186c8..6a62f294 100644 --- a/piker/accounting/cli.py +++ b/piker/accounting/cli.py @@ -299,6 +299,13 @@ def disect( # :pray: assert not df.is_empty() + # muck around in pdbp REPL + breakpoint() + # TODO: we REALLY need a better console REPL for this # kinda thing.. - breakpoint() + # - `xonsh` is an obvious option (and it looks amazin) but + # we need to figure out how to embed it better then just: + # from xonsh.main import main + # main(argv=[]) + # which will not actually inject the `df` to globals?