Files
oh-my-opencode/packages/omo-codex/plugin/skills/programming/scripts/go/templates/run.go
T
2026-05-28 13:58:12 +09:00

16 lines
350 B
Go

// Package cmd wires the root command and subcommands.
package cmd
import (
"context"
"log/slog"
"os"
)
// Execute runs the root command. Wire cobra/subcommands here.
func Execute(ctx context.Context) error {
slog.New(slog.NewJSONHandler(os.Stderr, &slog.HandlerOptions{Level: slog.LevelInfo}))
slog.InfoContext(ctx, "starting")
return nil
}