This makes the approach from `pr list` reusable across other commands that may benefit from table-based output, e.g. `issue list` or `pr status` The idea is: instantiate a printer, connect it to stdout, feed it some data, and it does the rest: colored, truncated column output that fits into a terminal, or tab-delimited output (no color, no truncation) for scripts. |
||
|---|---|---|
| .. | ||
| color.go | ||
| prepare_cmd.go | ||
| table_printer.go | ||
| utils.go | ||