aboutsummaryrefslogtreecommitdiff
path: root/cli/main.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-02-16 01:24:27 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-02-16 01:43:13 +0900
commit01f1d86b8237755565a1e7fd3e555f557af2114e (patch)
treee962f58692efd7d4388f37db982a021930d094e8 /cli/main.go
parentAdd types of lexical specifications (diff)
downloadtre-01f1d86b8237755565a1e7fd3e555f557af2114e.tar.gz
tre-01f1d86b8237755565a1e7fd3e555f557af2114e.tar.xz
Add CLI
Diffstat (limited to 'cli/main.go')
-rw-r--r--cli/main.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/cli/main.go b/cli/main.go
new file mode 100644
index 0000000..24973e7
--- /dev/null
+++ b/cli/main.go
@@ -0,0 +1,14 @@
+package main
+
+import (
+ "os"
+
+ "github.com/nihei9/maleeni/cli/cmd"
+)
+
+func main() {
+ err := cmd.Execute()
+ if err != nil {
+ os.Exit(1)
+ }
+}