MCPcopy Index your code
hub / github.com/cloudfoundry/cli / Complete

Method Complete

command/flag/credentials_or_json.go:45–47  ·  view source on GitHub ↗
(prefix string)

Source from the content-addressed store, hash-verified

43}
44
45func (c CredentialsOrJSON) Complete(prefix string) []flags.Completion {
46 return completeWithTilde(prefix)
47}
48
49func canParseAsJSON(input string) (value map[string]interface{}, ok bool) {
50 if err := json.Unmarshal([]byte(input), &value); err == nil {

Callers

nothing calls this directly

Calls 1

completeWithTildeFunction · 0.85

Tested by

no test coverage detected