[pve-devel] [pve-common 0/7] CLIFormatter improvements

Dietmar Maurer dietmar at proxmox.com
Thu Jun 28 13:03:54 CEST 2018


more features to render nice ascii/utf8 tables + cleanups

Dietmar Maurer (7):
  cli: print_text_table: allow to draw ascii art borders
  cli: print_api_result: use print_api_list to print objects
  PVE::JSONSchema::register_renderer - allow to register renderers by
    name
  cli: data_to_text: pass property info
  cli: print_text_table: allow to limit output width
  CLIFormatter: pass options as hash
  CLIFormatter: implement tables with utf8 borders

 src/PVE/CLIFormatter.pm | 130 +++++++++++++++++++++++++++++++++++++++++-------
 src/PVE/JSONSchema.pm   |  16 ++++++
 2 files changed, 129 insertions(+), 17 deletions(-)

-- 
2.11.0




More information about the pve-devel mailing list