From 567fb54ac2e6a1c20498ffd2c92b250e137f0f2c Mon Sep 17 00:00:00 2001 From: abs3nt Date: Sun, 18 Feb 2024 15:17:20 -0800 Subject: [PATCH] Default command --- src/components/cli/cli.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/cli/cli.go b/src/components/cli/cli.go index f324f76..6ba3e0a 100644 --- a/src/components/cli/cli.go +++ b/src/components/cli/cli.go @@ -25,6 +25,9 @@ func Run(c *commands.Commander, s fx.Shutdowner) { app := &cli.App{ EnableBashCompletion: true, Version: Version, + Action: func(ctx *cli.Context) error { + return tui.StartTea(c, "main") + }, Commands: []*cli.Command{ { Name: "play",