package cmd import ( "log/slog" "os" "testing" ) func TestExecute(t *testing.T) { // This test simply checks that the Execute function can be called without error. // It doesn't actually test any of the application's functionality. log := slog.New(slog.NewTextHandler(os.Stderr, &slog.HandlerOptions{ Level: slog.LevelDebug, })) if err := Execute(log); err != nil { t.Errorf("Execute() failed: %v", err) } }