Open epage opened 2 years ago
Comment by epage Monday Sep 20, 2021 at 17:01 GMT
Somewhat unrelated but I wonder what the code size / compile time looks like for all of our generators and if there is anything we can help developers with development time as our generators expand in number of targets and capabilities.
Comment by pksunkara Monday Sep 20, 2021 at 21:09 GMT
That was the intention for extra generators. For the basic common ones, we have them in the package itself, but if we were to implement this, we would create a new package called clap_generator_nushell
or something.
One thing I am not sure if we can do in Rust because of these new const stuff is, can a user extend the Shell
enum through 3rd party code (traits)?
Issue by hustcer Monday Sep 20, 2021 at 00:22 GMT Originally opened as https://github.com/clap-rs/clap/issues/2778
Please complete the following tasks
Clap Version
3.0.0-beta.4
Describe your use case
Auto-generated completion scripts add NuShell support
Describe the solution you'd like
Auto-generated completion scripts add NuShell support, just as clap support (Bash, Zsh, Fish, Elvish and PowerShell), Thx
Alternatives, if applicable
No response
Additional Context