[pve-devel] [pve-common v2 0/2] cli output formatter cleanups

Dietmar Maurer dietmar at proxmox.com
Wed Jul 25 09:30:03 CEST 2018


As suggested by Thomas, it is now possible to define additional properties
with $cmddef. Those properties are extracted and only passed to the output
formatter function.

Dietmar Maurer (2):
  cli: remove all output formatter magic from CLIHandler
  PVE::CLIHandler - allow to define additional parameters for output
    formatter

 src/PVE/CLIFormatter.pm |  2 +-
 src/PVE/CLIHandler.pm   | 35 +++++++++++------------
 src/PVE/RESTHandler.pm  | 74 +++++++++++++++++++++++++++++++------------------
 3 files changed, 66 insertions(+), 45 deletions(-)

-- 
2.11.0




More information about the pve-devel mailing list