summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authordemo <demo@antix1>2026-05-28 21:52:47 -0400
committerdemo <demo@antix1>2026-05-28 21:52:47 -0400
commit670f8051c5383bc72c4b3e4c07bb5562f83c41be (patch)
tree1a108536f1387c5d7a55f2671bacfd04a75f0d79 /main.go
parent030a7d53ccaddd18c14eab2c8a099e0a602bc7de (diff)
refactor: set up empty cmd with 'new'
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
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)
}