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

Unify syntax highlighting and ouput for --help #16360

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fel1x-developer
Copy link
Contributor

@fel1x-developer fel1x-developer commented Jan 12, 2025

What does this PR do?

Now all --help message follow these rules

  • the output of --help uses the following syntax highlighting

  • template: <b>Usage<r>: <b><green>bun <command><r> <cyan>[flags]<r> <blue>[arguments]<r>

  • use [foo] for multiple arguments or flags for foo.

  • use to emphasize 'bar'

  • Documentation or TypeScript types (it's okay to leave the rest blank in this case)

  • Code changes

How did you verify your code works?

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.

1 participant