summary refs log tree commit diff stats
path: root/lib/Orion
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-04-13 13:52:09 +0530
committerAndinus <andinus@nand.sh>2021-04-13 13:52:09 +0530
commit863b5301e2d2c75683086a608ebdf8f497133b94 (patch)
treefc7a07bac513abbd874102fa2e95b9dd0b00d415 /lib/Orion
parent12fdf3632824a3ffea9f8dfc9249cb7a27e6a2c8 (diff)
downloadorion-863b5301e2d2c75683086a608ebdf8f497133b94.tar.gz
Re-initialize project for Raku port
Diffstat (limited to 'lib/Orion')
-rw-r--r--lib/Orion/CLI.rakumod8
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>; }