macro_rules! check_license {
($ctx:ident,$cmd:ident) => { ... };
($context:ident,$current_command:ident, $license_func:path) => { ... };
}Expand description
Checks context has license flag. If the context has license flag, exec $license_func and return done.