]> git.proxmox.com Git - pve-common.git/commit - src/PVE/CLIHandler.pm
add helpers to verify API without starting the binary
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 3 Sep 2015 13:12:03 +0000 (15:12 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 3 Sep 2015 13:12:03 +0000 (15:12 +0200)
commit1f130ba6410638eec2ba5bf7b7c0ac3ccacd5615
tree48eecc34e37be1d9432a38e77aef91ea6c23367a
parent1068aeb3988b7ef080bd812bb1fa330c27e1b9f7
add helpers to verify API without starting the binary

In future, we want to have a separate PVE::CLI::$binname class
for each binary. We can then simply load that class to verify
the API:

 use PVE::CLI::pct;

 PVE::CLI::pct->verify_api();

or to generate the docs:

 PVE::CLI::pct->generate_pod_manpage();
src/PVE/CLIHandler.pm