aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-02-28 00:44:43 +0900
committernsfisis <nsfisis@gmail.com>2023-03-05 22:44:21 +0900
commit78e9c28b70429145b09bca73aac9d9916a7b65cb (patch)
treed8e6a17e5b653b6a66a2545b812ea95aca1dccc5 /main.go
parentd288579fcc1876b2ae5c1ab570ab4f50491558b9 (diff)
downloadterm-clock-78e9c28b70429145b09bca73aac9d9916a7b65cb.tar.gz
term-clock-78e9c28b70429145b09bca73aac9d9916a7b65cb.tar.zst
term-clock-78e9c28b70429145b09bca73aac9d9916a7b65cb.zip
initial implementation
Diffstat (limited to 'main.go')
-rw-r--r--main.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..8bcded2
--- /dev/null
+++ b/main.go
@@ -0,0 +1,16 @@
+package main
+
+import (
+ "fmt"
+ "os"
+
+ "github.com/nsfisis/term-clock/cmd"
+)
+
+func main() {
+ err := cmd.Execute()
+ if err != nil {
+ fmt.Fprintln(os.Stderr, err)
+ os.Exit(1)
+ }
+}