From 8961f49bf61afbdfd1ae8b51607b5bf2088bc0f1 Mon Sep 17 00:00:00 2001 From: Bazaah Date: Fri, 9 Dec 2022 12:42:27 +0000 Subject: [PATCH] main: wire up CLI --- main.go | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 main.go diff --git a/main.go b/main.go new file mode 100644 index 0000000..07f00f6 --- /dev/null +++ b/main.go @@ -0,0 +1,22 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + */ + +package main + +import ( + "fmt" + "os" + + "git.st8l.com/luxolus/kdnotify/cmd" +) + +func main() { + err := cmd.Execute() + if err != nil { + fmt.Println(err.Error()) + os.Exit(1) + } +}