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