Automattic / cli-table

Pretty unicode tables for the CLI with Node.JS
MIT License
2.28k stars 141 forks source link

push method improvement #170

Closed carlosascari closed 2 years ago

carlosascari commented 2 years ago

This lets you add a single object with many elements and automatically create the rows for each element.

Currently you have to convert and object with many field into an array with a single object for each field.

This improvement will allow you to use a single object with many fields and automatically create the row elements.

This implementation is seamless and code matches the current coding style

Please add this, it makes it so much easier to work with :)