Skip to content

Commit 6c15054

Browse files
authored
Make help page for cli for marimo new look nicer on 80 character wide… (#9636)
1 parent 8f99cc7 commit 6c15054

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

marimo/_cli/cli.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,9 @@ def edit(
621621
)
622622

623623

624+
# To make this more readable at 80 character terminal width, the bullet
625+
# that overflows is moved to the end, and _key_value_bullets is called
626+
# twice.
624627
new_help_msg = "\n".join(
625628
[
626629
"\b",
@@ -633,12 +636,16 @@ def edit(
633636
"Create an empty notebook",
634637
),
635638
(
636-
'marimo new "Plot an interactive 3D surface with matplotlib."',
637-
"Generate a notebook from a prompt.",
639+
"marimo new prompt.txt",
640+
"Generate a notebook from a prompt in a file.",
638641
),
642+
]
643+
),
644+
_key_value_bullets(
645+
[
639646
(
640-
"marimo new prompt.txt",
641-
"Generate a notebook from a file containing a prompt.",
647+
'marimo new "Plot an interactive 3D surface with matplotlib."',
648+
"Generate a notebook from a prompt.",
642649
),
643650
]
644651
),

0 commit comments

Comments
 (0)