Open kael-shipman opened 6 years ago
Should be able to do this:
$cmd->option('t') ->must(function($t) { return is_int($t); }, "Option `t` must be an integer") ->must(function($t) { return $t >= 0 && $t <= 10; }, "Option `t` must be between 0 and 10 inclusive.");
Again, will PR if spec approved.
Should be able to do this: