{"repo":"rodaine/table","free":true,"listed":false,"github":"https://github.com/rodaine/table","clone":"git clone https://github.com/rodaine/table.git","description":"Go CLI Table Generator","language":"Go","stars":323,"topics":["cli","table"],"license":"MIT","category":"cli-tools","readme_excerpt":"table 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 in the example)! - Can provide a custom WidthFunc to accomodate multi- and zero-width characters (such as runewidth) Usage Download the package: Example: Consult the documentation for further examples and usage information License table is released under the MIT License (Expat). See the full license.","default_branch":null,"files":null,"tree":[],"storefront":"/r/rodaine","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rodaine/table/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}