Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

feat(cli): support -h flag for help in CLI (#6089)

λboredom4958714fbca6
diff --git a/marimo/_cli/cli.py b/marimo/_cli/cli.py
index 6be34c9da6..48ac19d36c 100644
--- a/marimo/_cli/cli.py
+++ b/marimo/_cli/cli.py
@@ -224,7 +224,10 @@ sandbox_message = (
)
[email protected](help=main_help_msg)
+ help=main_help_msg,
+ context_settings={"help_option_names": ["-h", "--help"]},
+)
@click.version_option(version=__version__, message="%(version)s")
@click.option(
"-l",