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: update clap #19467

Merged
merged 1 commit into from
Jun 12, 2023
Merged

chore: update clap #19467

merged 1 commit into from
Jun 12, 2023

Conversation

crowlKats
Copy link
Member

Also switches to use defer for all subcommands besides run.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM

@crowlKats crowlKats merged commit e1be2bb into denoland:main Jun 12, 2023
10 checks passed
bartlomieju pushed a commit that referenced this pull request Jun 15, 2023
Also switches to use defer for all subcommands besides run.
.about("Run benchmarks")
.long_about(
"Run benchmarks using Deno's built-in bench tool.
Command::new("bench").defer(|cmd| {
Copy link

Choose a reason for hiding this comment

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

Might be wrong, but it seems that .defer causes the command description to disappear ( see #19554)

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.

None yet

3 participants