From 670f8051c5383bc72c4b3e4c07bb5562f83c41be Mon Sep 17 00:00:00 2001 From: demo Date: Thu, 28 May 2026 21:52:47 -0400 Subject: refactor: set up empty cmd with 'new' --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 2fe83fc..437ebff 100644 --- a/main.go +++ b/main.go @@ -8,5 +8,6 @@ import ( ) func main() { - (&cli.Command{}).Run(context.Background(), os.Args) + cmd := new(cli.Command) + cmd.Run(context.Background(), os.Args) } -- cgit v1.2.3