fixed error handling, added list command, switched to koanf

This commit is contained in:
2023-03-07 20:06:13 +01:00
parent cd0939cbc8
commit 50660da26a
16 changed files with 391 additions and 159 deletions

View File

@@ -19,8 +19,12 @@ package main
import (
"github.com/tlinden/up/upd/cmd"
"log"
)
func main() {
cmd.Execute()
err := cmd.Execute()
if err != nil {
log.Fatalf(err.Error())
}
}