We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
code42 shell
1 parent ba0aa54 commit 4902e57Copy full SHA for 4902e57
1 file changed
src/code42cli/cmds/shell.py
@@ -1,5 +1,4 @@
1
import click
2
-import IPython
3
4
from code42cli import BANNER
5
from code42cli.options import sdk_options
@@ -9,4 +8,6 @@
9
8
@sdk_options()
10
def shell(state):
11
"""Open an IPython shell with py42 initialized as `sdk`."""
+ import IPython
12
+
13
IPython.embed(colors="Neutral", banner1=BANNER, user_ns={"sdk": state.sdk})
0 commit comments