From 0960b06c21cb3177a52884bad96af1e9a0bb7190 Mon Sep 17 00:00:00 2001 From: prabhat khera Date: Thu, 18 Apr 2024 11:55:46 +1200 Subject: [PATCH 1/2] Test commit --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 68b4d33..d555c17 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,7 @@ import ( func main() { ctx := context.Background() + cliCtx := kong.Parse(&cli, kong.Name("unpacker"), kong.Description("A tool to deploy Docker stacks from Git repositories."), @@ -21,9 +22,11 @@ func main() { })) log.ConfigureLogger(cli.PrettyLog) + log.SetLoggingLevel(log.Level(cli.LogLevel)) cmdCtx := NewCommandExecutionContext(ctx) + err := cliCtx.Run(cmdCtx) if err != nil { fmt.Println(err) From a16c8373d6fe7f30d354ecad72de80538b9f42eb Mon Sep 17 00:00:00 2001 From: prabhat khera Date: Thu, 18 Apr 2024 12:07:09 +1200 Subject: [PATCH 2/2] Test commit1 --- main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.go b/main.go index d555c17..667b3b5 100644 --- a/main.go +++ b/main.go @@ -24,9 +24,7 @@ func main() { log.ConfigureLogger(cli.PrettyLog) log.SetLoggingLevel(log.Level(cli.LogLevel)) - cmdCtx := NewCommandExecutionContext(ctx) - err := cliCtx.Run(cmdCtx) if err != nil { fmt.Println(err)