cli_helpers icon indicating copy to clipboard operation
cli_helpers copied to clipboard

Replace local tabulate formats with those available upstream

Open kdeldycke opened this issue 4 years ago • 1 comments

FYI, I just proposed a new PR in the upstream python-tabulate project to add some new unicode-based table rendering.

The new renderings can now replace the formats hard-coded in cli_helpers:

  • psql_unicode => simple_outline
  • double => double_outline
  • ascii => outline

See more details at: https://github.com/astanin/python-tabulate/pull/151

kdeldycke avatar Oct 14 '21 10:10 kdeldycke

For the record, I backported all the new formats to my own standalone package: click-extra.

kdeldycke avatar Nov 02 '21 13:11 kdeldycke

I am no longer using cli_helpers and have switched to directly depending on python-tabulate for my use-case.

I now rely exclusively on click-extra as a replacement for cli_helpers.

kdeldycke avatar Dec 06 '22 14:12 kdeldycke