MCPcopy Create free account
hub / github.com/bufbuild/buf / GetSourceLong

Function GetSourceLong

private/buf/bufcli/flags_args.go:235–242  ·  view source on GitHub ↗

GetSourceLong gets the long command description for an input-based command.

(inputArgDescription string)

Source from the content-addressed store, hash-verified

233
234// GetSourceLong gets the long command description for an input-based command.
235func GetSourceLong(inputArgDescription string) string {
236 return fmt.Sprintf(
237 `The first argument is %s, which must be one of format %s.
238This defaults to "." if no argument is specified.`,
239 inputArgDescription,
240 buffetch.SourceFormatsString,
241 )
242}
243
244// GetSourceDirLong gets the long command description for a directory-based command.
245func GetSourceDirLong(inputArgDescription string) string {

Callers 1

NewCommandFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…