MCPcopy
hub / github.com/cli/cli / manLink

Function manLink

internal/docs/man.go:241–244  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

239}
240
241func manLink(cmd *cobra.Command) string {
242 p := cmd.CommandPath()
243 return fmt.Sprintf("%s(%d)", strings.Replace(p, " ", "-", -1), 1)
244}

Callers 1

genManFunction · 0.85

Calls 1

ReplaceMethod · 0.80

Tested by

no test coverage detected