-
If I'm correct there's no corresponding way to set version by |
Beta Was this translation helpful? Give feedback.
Answered by
kbknapp
May 12, 2020
Replies: 2 comments
-
The convention is to set it right after importing the yaml: let yml = load_yaml!("cli.yml");
let matches = App::from(yml)
.version(crate_version!())
.get_matches(); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kbknapp
-
Wow it's cool! Thank you for helping. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The convention is to set it right after importing the yaml: