Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve CLI line breaks and markdown-handling #1736

Merged

Conversation

CommanderStorm
Copy link
Collaborator

During #1720 I noticed that there are a few places in the CLI where a few more line breaks and handling markdown better could help readability.

Yes, this adds the unstable-markdown feature of clap, but given that removal would only impact the CLI-Formatting, I think here the risk is okay.
Tracking issue:

Hidden rationale:
I have one place in #1720 where making it readable without markdown formatting is nearly impossible

@CommanderStorm CommanderStorm requested a review from nyurik March 9, 2025 21:45
@CommanderStorm CommanderStorm changed the title chore: make sure that the CLI handles line breaks and handles markdown chore: improve CLI line breaks and markdown-handling Mar 9, 2025
@CommanderStorm CommanderStorm enabled auto-merge (squash) March 9, 2025 22:30
Copy link
Member

@nyurik nyurik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@CommanderStorm CommanderStorm merged commit 47f6d41 into maplibre:main Mar 10, 2025
20 checks passed
CommanderStorm added a commit to CommanderStorm/martin that referenced this pull request Mar 10, 2025
During maplibre#1720 I noticed that there are a few places in the CLI where a
few more line breaks and handling markdown better could help
readability.

Yes, this adds the `unstable-markdown` feature of clap, but given that
removal would only impact the CLI-Formatting, I think here the risk is
okay.
Tracking issue:
- clap-rs/clap#5900

Hidden rationale:
I have one place in maplibre#1720 where making it readable without markdown
formatting is nearly impossible

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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