MCPcopy
hub / github.com/marimo-team/marimo / _run_export

Function _run_export

tests/_cli/test_cli_export.py:96–107  ·  view source on GitHub ↗

Helper to run marimo export commands via CliRunner.

(
    export_format: str,
    file: str,
    *extra_args: str,
    stdin: str | None = None,
)

Source from the content-addressed store, hash-verified

94
95
96def _run_export(
97 export_format: str,
98 file: str,
99 *extra_args: str,
100 stdin: str | None = None,
101) -> Result:
102 """Helper to run marimo export commands via CliRunner."""
103 return _runner.invoke(
104 main,
105 ["export", export_format, file, *extra_args],
106 input=stdin,
107 )
108
109
110def _assert_success(r: Result) -> None:

Calls 1

invokeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…