Skip to content

Instantly share code, notes, and snippets.

@antoniogamiz
Last active July 13, 2019 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antoniogamiz/74c60391cd5dfdc0944f2c495ba8e64a to your computer and use it in GitHub Desktop.
Save antoniogamiz/74c60391cd5dfdc0944f2c495ba8e64a to your computer and use it in GitHub Desktop.
package Perl6::Documentable::CLI {
sub RUN-MAIN(|c) is export {
my %*SUB-MAIN-OPTS = :named-everywhere;
CORE::<&RUN-MAIN>(|c)
}
proto MAIN(|) is export { {*} }
multi MAIN(
"setup"
) {
say "DDD";
}
multi MAIN (
"start" ,
Str :$topdir = "doc",
Bool :v(:verbose($v)) = False,
) { say "ddd"; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment