MCPcopy
hub / github.com/perkeep/perkeep / RunCommand

Method RunCommand

cmd/pk/searchdoc.go:47–54  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

45}
46
47func (c *searchDocCmd) RunCommand(args []string) error {
48 if len(args) > 0 {
49 return cmdmain.UsageError("No arguments allowed")
50 }
51
52 formattedSearchHelp()
53 return nil
54}
55
56func formattedSearchHelp() {
57 s := search.SearchHelp()

Callers

nothing calls this directly

Calls 2

UsageErrorTypeAlias · 0.92
formattedSearchHelpFunction · 0.85

Tested by

no test coverage detected