diff options
author | Andinus <andinus@nand.sh> | 2021-04-13 13:52:09 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-04-13 13:52:09 +0530 |
commit | 863b5301e2d2c75683086a608ebdf8f497133b94 (patch) | |
tree | fc7a07bac513abbd874102fa2e95b9dd0b00d415 /lib/Orion | |
parent | 12fdf3632824a3ffea9f8dfc9249cb7a27e6a2c8 (diff) | |
download | orion-863b5301e2d2c75683086a608ebdf8f497133b94.tar.gz |
Re-initialize project for Raku port
Diffstat (limited to 'lib/Orion')
-rw-r--r-- | lib/Orion/CLI.rakumod | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Orion/CLI.rakumod b/lib/Orion/CLI.rakumod new file mode 100644 index 0000000..be7085a --- /dev/null +++ b/lib/Orion/CLI.rakumod @@ -0,0 +1,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>; } |