Pretty tables CLI scripts

T

toulax

Does anyone know of any library or anything that can be used to
display data on those neat tables on a CLI script? Sort of how MySQL
or the Rails benchmarking scripts do, how can I do that?

Thanks
 
G

Gregory Brown

Does anyone know of any library or anything that can be used to
display data on those neat tables on a CLI script? Sort of how MySQL
or the Rails benchmarking scripts do, how can I do that?

Ruport's output is fairly nice:
http://pastie.caboo.se/49402

See the API documentation for Data::Table
http://api.rubyreports.org

and bug us if you have any questions.
http://list.rubyreports.org

Please use the above list (just a google group), rather than RubyTalk
as I'm not always monitoring RubyTalk.

-greg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top