Skip to content

Instantly share code, notes, and snippets.

@antoniogamiz
Created July 13, 2019 09:56
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/e6510b9eb20850d2473f35d8d3ae9b44 to your computer and use it in GitHub Desktop.
Save antoniogamiz/e6510b9eb20850d2473f35d8d3ae9b44 to your computer and use it in GitHub Desktop.
package Perl6::Documentable::CLI {
proto MAIN(|) is export { {*} }
my %*SUB-MAIN-OPTS = :named-everywhere;
multi MAIN(
"setup"
) { ... }
multi MAIN (
"start" ,
Str :$topdir = "doc",
Bool :v(:verbose($v)) = False,
Bool :c(:$cache) = True ,
Bool :p(:pods($p)) = False,
Bool :k(:kind($k)) = False,
Bool :s(:search-index($s)) = False,
Bool :i(:indexes($i)) = False,
Bool :t(:type-images($t)) = False,
Bool :f(:force($f)) = False,
Bool :$highlight = False,
Bool :a(:$all) = False
) { ... }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment