summary refs log tree commit diff stats
path: root/lib/Orion/CLI.rakumod
blob: be7085a9b85ae7297a573ff9cf3482d4d466cf25 (plain) (blame)
1
2
3
4
5
6
7
8
proto MAIN(|) is export { unless so @*ARGS { say $*USAGE; exit }; {*} }

multi sub MAIN(
) { }

multi sub MAIN(
    Bool :$version #= print version
) { say "Orion v" ~ $?DISTRIBUTION.meta<version>; }