From: Stoiko Ivanov Date: Mon, 18 Jun 2018 08:18:02 +0000 (+0200) Subject: add print_api_list, adapt handle_cmd X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=a604bf22142e9c71a2f651ddb15119fe453b70d5;hp=a604bf22142e9c71a2f651ddb15119fe453b70d5 add print_api_list, adapt handle_cmd print_api_list takes an array of columns to print, the data, and the returns definitions of the API, and prints the data by using print_text_table. handle_cmd and handle_simple_cmd call the output sub with the returns definitons. Signed-off-by: Stoiko Ivanov ---