manager: push: add more completions

the group filters need adaptations both for pushing and local pulling, so left
those out for now.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2024-11-21 12:01:04 +01:00
parent c02d3a8717
commit 0679c25ebb

View File

@ -647,8 +647,10 @@ async fn run() -> Result<(), Error> {
CliCommand::new(&API_METHOD_PUSH_DATASTORE)
.arg_param(&["store", "remote", "remote-store"])
.completion_cb("store", pbs_config::datastore::complete_datastore_name)
.completion_cb("ns", complete_sync_local_datastore_namespace)
.completion_cb("remote", pbs_config::remote::complete_remote_name)
.completion_cb("remote-store", complete_remote_datastore_name),
.completion_cb("remote-store", complete_remote_datastore_name)
.completion_cb("remote-ns", complete_remote_datastore_namespace),
)
.insert(
"verify",