-
Clap version2.33.3 - though I checked masters docstrings and I don't see any improvement. WhereLine 169 in 3907e11 https://docs.rs/clap/2.33.3/clap/macro.app_from_crate.html What's wrongIt's not clear how to develop this into a fully formed app. I was hoping to use it like How to fixI'm not really sure. If someone could explain it to me I wouldn't mind putting in a PR for it but I don't have enough understanding of macros to make sense of it currently. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Here's an example, Line 16 in 6ce1e4f And the macro code is pretty self-explanatory. Line 194 in 3907e11 |
Beta Was this translation helpful? Give feedback.
-
The If there is some reasonable way to use the macro arguments from |
Beta Was this translation helpful? Give feedback.
-
Can you paste your code? |
Beta Was this translation helpful? Give feedback.
-
And no, |
Beta Was this translation helpful? Give feedback.
-
This is what it looks like now. It works but I'll probably try to tweak a little.
I had hoped to do something like:
or maybe
but I couldn't see how that would work. I couldn't see the usefulness of This is the typo I was talking about Line 47 in 3907e11 |
Beta Was this translation helpful? Give feedback.
And no,
app_from_crate!
cannot be used withclap_app