cli: remove all output formatter magic from CLIHandler
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 24 Jul 2018 11:36:42 +0000 (13:36 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 26 Jul 2018 09:08:52 +0000 (11:08 +0200)
commit4cbcd1386f225f42896fe790337d152718498693
tree24526e80c95501f69c45ee0914978ac1d43a8ab6
parentbf5e9f8440cf4ae5d7dd9bf36a4e53ac5f5a74da
cli: remove all output formatter magic from CLIHandler

- and rename format to 'output-format'

- provide a method to add properties to schema:
PVE::RESTHandler::add_standard_output_properties

- provide methods to extract output properties:
PVE::RESTHandler::extract_standard_output_properties()
src/PVE/CLIFormatter.pm
src/PVE/CLIHandler.pm
src/PVE/RESTHandler.pm