Getopt::Type
Getopt::Type
Forked from tadziks version
MAIN? Getopt semantics? Why not both?
use Getopt::Type;
sub MAIN(*%opts where getopt(<f|force v|verbose>)) {
say "Forcing!" if %opts<force>;
say "Verbosing!" if %opts<verbose>;
say %opts.perl;
}
# try `raku -Ilib README.md -fv thisprog.raku`