MCPcopy Index your code
hub / github.com/screego/server / Run

Function Run

cmd/command.go:11–24  ·  view source on GitHub ↗
(version, commitHash string)

Source from the content-addressed store, hash-verified

9)
10
11func Run(version, commitHash string) {
12 app := cli.App{
13 Name: "screego",
14 Version: fmt.Sprintf("%s; screego/server@%s", version, commitHash),
15 Commands: []cli.Command{
16 serveCmd(version),
17 hashCmd,
18 },
19 }
20 err := app.Run(os.Args)
21 if err != nil {
22 log.Fatal().Err(err).Msg("app error")
23 }
24}

Callers 1

mainFunction · 0.92

Calls 1

serveCmdFunction · 0.85

Tested by

no test coverage detected