MCPcopy Create free account
hub / github.com/InferCore/InferCore / main

Function main

cmd/infercore/main.go:27–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25)
26
27func main() {
28 if len(os.Args) == 1 {
29 os.Args = append(os.Args, "serve")
30 }
31 if err := rootCmd().Execute(); err != nil {
32 fmt.Fprintln(os.Stderr, err)
33 os.Exit(1)
34 }
35}
36
37func rootCmd() *cobra.Command {
38 var cfgPath string

Callers

nothing calls this directly

Calls 1

rootCmdFunction · 0.85

Tested by

no test coverage detected