From 132b318d8b7704c13e402fab70970ec8b6236e0a Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 9 Mar 2023 18:40:19 +0100 Subject: [PATCH] run in daemon mode by default --- cmd/cmd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/cmd.go b/cmd/cmd.go index b1242c7..6c1cc6a 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -25,6 +25,7 @@ func Execute(ctx context.Context) { Args: cobra.MaximumNArgs(1), Version: version, SilenceUsage: true, + RunE: runDaemon(ctx, gArgs.EnvFile), } rootCmd.PersistentFlags().StringVarP(&gArgs.EnvFile, "env-file", "", ".env", "Read in a file of environment variables.")