table
table copied to clipboard
Go CLI Table Generator
``` ~/Project/domain/fn direnv 11:39:02 > go run main.go domain # cobra-cli/fn/cmd cmd/domain.go:30:26: undefined: getWidgets ~/Project/domain/fn ``` not sure where getWidgets gets pulled in from
When formatting is applied to header & first column, it is not working 
Firstly, nice tool. Would be great to have right alignment option which would be useful in displaying numbers which are easier to see when right aligned. E.g. ``` Name Balance...
Thank you for this library! I used it in [one of my projects](https://github.com/ddworken/hishtory) and it is super helpful. I recently realized that the behavior if someone does `tbl.AddRow("foo\nbar")` is slightly...
fixes [https://github.com/rodaine/table/issues/19](https://github.com/rodaine/table/issues/19), Hi, After merging this pull request we can define horizontal alignment for each table's cells.
This PR adds the flag `PrintHeaders` to the table struct that specifies whether headers should be printed or not. This may be useful when output is being piped to other...
Simple change to add a Sprint() function for when stdout is not your destination of choice. A lot of the existing tests could be refactored to take advantage of this...
I'd like to color rows based on some if conditions. I came up with this minimal working example. Adding ANSI colors it seems does not work as expected, i.e. the...
**Description:** The software currently does not handle large values properly. When dealing with large strings, the output becomes crowded, particularly due to the header line (ID Value) not aligning well...
…taining full backward compatibility with the existing Table interface: - CSV/JSON Export: ExportCSV() and ExportJSON() methods for data export - Table Sorting: SortBy() and SortByMultiple() with comparison functions (StringComparison, NumericalComparison,...