macro_rules! check_version {
    ($context:ident,$current_command:ident) => { ... };
}
Expand description

Checks context has version flag. If the context has help flag, show version and exit.