| 36 | } |
| 37 | |
| 38 | std::vector<String> PKIRequestCommand::GetArgumentSuggestions(const String& argument, const String& word) const |
| 39 | { |
| 40 | if (argument == "key" || argument == "cert" || argument == "ca" || argument == "trustedcert") |
| 41 | return GetBashCompletionSuggestions("file", word); |
| 42 | else if (argument == "host") |
| 43 | return GetBashCompletionSuggestions("hostname", word); |
| 44 | else if (argument == "port") |
| 45 | return GetBashCompletionSuggestions("service", word); |
| 46 | else |
| 47 | return CLICommand::GetArgumentSuggestions(argument, word); |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * The entry point for the "pki request" CLI command. |
nothing calls this directly
no outgoing calls
no test coverage detected