You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docker/docker_tools_misc.py
+3-11Lines changed: 3 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -43,22 +43,14 @@
43
43
# ``shell``
44
44
# ---------
45
45
@click.command()
46
-
@click.option(
47
-
"--venv/--no-venv",
48
-
default=True,
49
-
help="Open a shell within the Python virtual environment for the Runestone servers.",
50
-
)
51
-
defshell(venv: bool) ->None:
46
+
defshell() ->None:
52
47
"""
53
-
Open a Bash shell in the Docker container.
48
+
Open a Bash shell in the Docker container, using the Python virtual environment for the Runestone servers.
54
49
"""
55
50
# Ask for an interactive console.
56
51
ensure_in_docker(True)
57
52
# Skip a check, since the user will see any failures and because this raises an exception of the last command in the shell produced a non-zero exit code.
58
-
ifvenv:
59
-
xqt("poetry run bash", cwd=env.RUNESTONE_PATH, check=False)
0 commit comments