You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
being able to easily decide which shell to generate completions for at runtime without limiting yourself to only implementations of Generator found in clap-complete.
Describe the solution you'd like
add two new blanket implementations of Generator, one for &dyn Generator and one for Box<dyn Generator>.
Alternatives, if applicable
clap_complete::Shell: can't represent generators defined outside of clap-complete.
Additional Context
Generator is already object-safe, so this should be an easy change.
The text was updated successfully, but these errors were encountered:
Please complete the following tasks
Clap Version
4.5.4
Describe your use case
being able to easily decide which shell to generate completions for at runtime without limiting yourself to only implementations of Generator found in clap-complete.
Describe the solution you'd like
add two new blanket implementations of Generator, one for
&dyn Generator
and one forBox<dyn Generator>
.Alternatives, if applicable
clap_complete::Shell
: can't represent generators defined outside of clap-complete.Additional Context
Generator is already object-safe, so this should be an easy change.
The text was updated successfully, but these errors were encountered: