Skip to content

mason: annotate CLI help examples and fix their alignment - #519

Merged
elainewang-db merged 1 commit into
databricks:mainfrom
elainemwang:fix-help-examples-readability
Sep 3, 2026
Merged

elainewang-db merged 1 commit into
databricks:mainfrom
elainemwang:fix-help-examples-readability

Conversation

@elainewang-db

Copy link
Copy Markdown
Contributor

Each example now carries a short comment explaining what it does, so first-time users can scan --help without running commands. Commands stay flush-left in a clean column; a group renders its comments inline when every command is short enough (aligned across the group), and stacks them on the line above otherwise — uniformly per group so the layout never mixes inline and stacked.

Addresses the "poor command readability" bug-bash feedback (inconsistent indent, no explanation of what examples do).

Each example now carries a short comment explaining what it does, so first-time
users can scan `--help` without running commands. Commands stay flush-left in a
clean column; a group renders its comments inline when every command is short
enough (aligned across the group), and stacks them on the line above otherwise —
uniformly per group so the layout never mixes inline and stacked.

Addresses the "poor command readability" bug-bash feedback (inconsistent indent,
no explanation of what examples do).

Co-authored-by: Isaac <no-reply@databricks.com>
@elainemwang
elainemwang force-pushed the fix-help-examples-readability branch from e3a9842 to bc0b801 Compare September 3, 2026 20:55
@elainewang-db
elainewang-db enabled auto-merge (squash) September 3, 2026 20:59
@elainewang-db
elainewang-db merged commit 8155019 into databricks:main Sep 3, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants