Make help page for cli for marimo new look nicer on 80 character wide…#9636
Merged
mscolnick merged 1 commit intoMay 21, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Contributor
There was a problem hiding this comment.
No issues found across 1 file
Architecture diagram
sequenceDiagram
participant User
participant CLI as CLI (marimo _cli/cli.py)
participant Shell as Terminal (80-col width)
Note over User,Shell: CLI help page generation for "marimo new"
User->>CLI: Run "marimo new --help"
CLI->>CLI: Build new_help_msg string
Note over CLI: Assembles bullet list with _key_value_bullets()
CLI->>CLI: Split bullets into two groups
Note over CLI: First group: common usage (create notebook, file-based prompt)
CLI->>CLI: Second group: less common usage (quoted prompt)
CLI->>CLI: Join groups with newline separators
CLI->>Shell: Output formatted help text
Shell-->>User: Display rendered help (single-column bullet list)
Note over CLI,Shell: Key constraint: terminal width of 80 characters
Note over CLI: Bullets are rearranged to prevent overflow beyond 80 cols
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
594778f to
6097e78
Compare
Contributor
Author
|
@akshayka PR is ready. |
Contributor
|
🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.23.7-dev78 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… terminals.
📝 Summary
Help page for
marimo new --helplooks nicer on 80 character wide terminals. Issue has before and after.Closes #9614
📋 Pre-Review Checklist
✅ Merge Checklist