factor out scan CLI definition to real API module

we have a 1:1 copy of that code in pve-manager's PVE::API2::Scan,
which we can avoid by using a common module form pvesm CLI and the
API.

This is the first basic step of dropping the code duplication in
pve-manager.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2020-12-01 17:15:35 +01:00
parent 2cd10f58be
commit 2892b6739d
3 changed files with 350 additions and 335 deletions

View File

@ -1,5 +1,5 @@
SOURCES= Content.pm Status.pm Config.pm PruneBackups.pm
SOURCES= Content.pm Status.pm Config.pm PruneBackups.pm Scan.pm
.PHONY: install
install: