diff --git a/main.go b/main.go index e5d72cd9..8d2ca618 100644 --- a/main.go +++ b/main.go @@ -102,6 +102,10 @@ var ( //nolint func main() { + //print help if no command given + if len(os.Args) < 2 { + os.Args = append(os.Args, "--help") + } ctx := kong.Parse(&CLI) logger := logging.GetRoot()