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

feat: Allow deferred initialization of subcommands #4792

Merged
merged 1 commit into from Jun 9, 2023

Conversation

epage
Copy link
Member

@epage epage commented Mar 27, 2023

This is mostly targeted at reducing startup time for no-op commands
within very large applications, like deno (see #4774).

This comes at the cost of 1.1 KiB of binary size

This is mostly targeted at reducing startup time for no-op commands
within *very* large applications, like deno (see clap-rs#4774).

This comes at the cost of 1.1 KiB of binary size
@epage epage marked this pull request as ready for review June 9, 2023 14:20
@epage epage changed the title feat: Allow defer initialization of subcommands feat: Allow deferred initialization of subcommands Jun 9, 2023
@epage epage merged commit 13534b6 into clap-rs:master Jun 9, 2023
21 checks passed
@epage epage deleted the defer branch June 9, 2023 14:33
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

1 participant