-
I'm currently using clap_complete with What's the recommended way of dealing with this? Some possibilies I've thought of:
Any recommendations or best practices on how to deal with this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Heh, bringing derive features into the builder API also brings derive complications. Its been a while since I've provided completions in my programs, so I don't have first hand experience with this. A variant of Note that some value parser affect completions
We are also exploring an alternative approach to completions that cannot be built in a |
Beta Was this translation helpful? Give feedback.
Heh, bringing derive features into the builder API also brings derive complications. Its been a while since I've provided completions in my programs, so I don't have first hand experience with this.
A variant of
cfg
would be to use a macro to either skip calls or put in dummy values.Note that some value parser affect completions
We are also exploring an alternative approach to completions that cannot be built in a
build.rs
(#3166). If/when that is ready, I'm assuming we'll drop the level of support for the existing completions (which is already "not great" which is why we want to go this alternative approach)