Preconfigure arguments #6044
-
Hi 👋🏽 I was not exactly sure how to name this title. I have the following. As written in my TODO comment I would like to move the autocomplete annotations to the struct definition so that I can reuse it. The thing is it seems there is no derive(Arg) from Clap. Aside from creating a macro for this is there any way to make the autocomplete annotation more reusable? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Is If so, then you can derive Otherwise, if you derive |
Beta Was this translation helpful? Give feedback.
thanks for the quick reply! StackWithDevelopment looks like this
Thanks I will look into that