Prompted by a comment on Reddit by epage, I think we should try to not depend on clap_complete at runtime or at least make it optional. The simplest thing to do is to hide it behind a feature flag. But we could also generate completions at compile time or create a separate binary that can generate the completions.
If you know how other projects do this or have an idea on how to improve this, feel free to comment below!
Prompted by a comment on Reddit by epage, I think we should try to not depend on
clap_complete
at runtime or at least make it optional. The simplest thing to do is to hide it behind a feature flag. But we could also generate completions at compile time or create a separate binary that can generate the completions.If you know how other projects do this or have an idea on how to improve this, feel free to comment below!