]> git.proxmox.com Git - pve-common.git/commit - src/PVE/CLIHandler.pm
PVE::CLIHandler - new helper print_api_result
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 22 Jun 2018 05:05:23 +0000 (07:05 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 22 Jun 2018 05:05:23 +0000 (07:05 +0200)
commit340c98629c6a1ae22c6078aa4689da41401a6af8
treea1573e7ce7f03e790477dc05530be360d78e37af
parentba49de85b9fbaded0da7997363af76f789fe9a72
PVE::CLIHandler - new helper print_api_result

Allow to print complex object/array by simply converting them to JSON.

Note: Our API almost always return simply values.
src/PVE/CLIHandler.pm