MCPcopy Create free account
hub / github.com/apache/devlake / RunCmd

Function RunCmd

backend/core/runner/directrun.go:38–45  ·  view source on GitHub ↗

RunCmd FIXME ...

(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

36
37// RunCmd FIXME ...
38func RunCmd(cmd *cobra.Command) {
39 cmd.Flags().StringSliceP("subtasks", "t", nil, "specify what tasks to run, --subtasks=collectIssues,extractIssues")
40 cmd.Flags().BoolP("fullsync", "f", false, "run fullsync")
41 err := cmd.Execute()
42 if err != nil {
43 panic(err)
44 }
45}
46
47// DirectRun direct run plugin from command line.
48// cmd: type is cobra.Command

Callers

nothing calls this directly

Calls 1

ExecuteMethod · 0.65

Tested by

no test coverage detected