Files
onyx/cli/main.go
T
a51f0d7cb2 feat: Onyx CLI (#8958)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-06 05:42:20 +00:00

24 lines
285 B
Go

package main
import (
"fmt"
"os"
"github.com/onyx-dot-app/onyx/cli/cmd"
)
var (
version = "dev"
commit = "none"
)
func main() {
cmd.Version = version
cmd.Commit = commit
if err := cmd.Execute(); err != nil {
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
os.Exit(1)
}
}