manager: acme plugin: auto-complete available DNS challenge types

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2021-05-10 15:55:49 +02:00
parent e857f1fae8
commit ea1458923e
2 changed files with 12 additions and 0 deletions

View File

@ -343,6 +343,7 @@ pub fn plugin_cli() -> CommandLineInterface {
"add",
CliCommand::new(&API_METHOD_ADD_PLUGIN)
.arg_param(&["type", "id"])
.completion_cb("api", crate::config::acme::complete_acme_api_challenge_type)
.completion_cb("type", crate::config::acme::complete_acme_plugin_type),
)
.insert(