MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetArgumentSuggestions

Method GetArgumentSuggestions

lib/cli/pkinewcertcommand.cpp:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33std::vector<String> PKINewCertCommand::GetArgumentSuggestions(const String& argument, const String& word) const
34{
35 if (argument == "key" || argument == "csr" || argument == "cert")
36 return GetBashCompletionSuggestions("file", word);
37 else
38 return CLICommand::GetArgumentSuggestions(argument, word);
39}
40
41/**
42 * The entry point for the "pki new-cert" CLI command.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected