[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1053978: ITP: golang-github-rodaine-table -- Go CLI Table Generator



Package: wnpp
Severity: wishlist
Owner: Anthony Fok <foka@debian.org>

* Package name    : golang-github-rodaine-table
  Version         : 1.1.0-1
  Upstream Author : Chris Roche
* URL             : https://github.com/rodaine/table
* License         : Expat
  Programming Lang: Go
  Description     : Go CLI Table Generator

 Go package table provides a convenient way to generate tabular output
 of any data, primarily useful for CLI tools.
 .
 Features:
 .
  * Accepts all data types (string, int, interface{}, everything!) and
    will use the String() string method of a type if available.
  * Can specify custom formatting for the header and first column cells
    for better readability.
  * Columns are left-aligned and sized to fit the data, with customizable
    padding.
  * The printed output can be sent to any io.Writer, defaulting to
    os.Stdout.
  * Built to an interface, so you can roll your own Table implementation.
  * Works well with ANSI colors (fatih/color
    (https://github.com/fatih/color) in the example)!
  * Can provide a custom WidthFunc to accomodate multi- and zero-width
    characters (such as runewidth (https://github.com/mattn/go-runewidth))

Reason for packaging:
  * indirect dependency of gh >= 2.36.0
  * direct dependeny of golang-github-microsoft-dev-tunnels (to be packaged)


Reply to: