MCPcopy
hub / github.com/perkeep/perkeep / CommandRunner

Interface CommandRunner

pkg/cmdmain/cmdmain.go:96–99  ·  view source on GitHub ↗

CommandRunner is the type that a command mode should implement.

Source from the content-addressed store, hash-verified

94
95// CommandRunner is the type that a command mode should implement.
96type CommandRunner interface {
97 Usage()
98 RunCommand(args []string) error
99}
100
101// ExecRunner is the type that a command mode should implement when that mode
102// just calls a new executable that will run as a new command.

Callers 6

helpFunction · 0.65
MainFunction · 0.65
mainFunction · 0.65
MainFunction · 0.65
syncMethod · 0.65
RunCommandMethod · 0.65

Implementers 15

toolCmddev/devcam/pk.go
serverCmddev/devcam/server.go
putCmddev/devcam/put.go
mountCmddev/devcam/mount.go
testCmddev/devcam/test.go
hookCmddev/devcam/hook.go
reviewCmddev/devcam/review.go
getCmddev/devcam/get.go
envCmdcmd/pk/env.go
indexCmdcmd/pk/index.go
dumpconfigCmdcmd/pk/dumpconfig.go
putCmdcmd/pk/put.go

Calls

no outgoing calls

Tested by

no test coverage detected