Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 1bf9013

Browse files
committed
Document command argument
1 parent af0fe16 commit 1bf9013

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

  • packages/jumpstarter-cli/jumpstarter_cli

packages/jumpstarter-cli/jumpstarter_cli/shell.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@
2222
@handle_exceptions
2323
def shell(config, command: tuple[str, ...], lease_name, selector, duration):
2424
"""
25-
Spawns a shell connecting to a local or remote exporter
25+
Spawns a shell (or custom command) connecting to a local or remote exporter
26+
27+
COMMAND is the custom command to run instead of shell.
28+
29+
Example:
30+
31+
.. code-block:: bash
32+
33+
$ jmp shell --exporter foo -- python bar.py
2634
"""
2735

2836
match config:

0 commit comments

Comments
 (0)