# Pretty tables CLI scripts

**URL:** <https://www.ruby-forum.com/t/pretty-tables-cli-scripts/90034>\
**Category:** Ruby\
**Created:** [March 25, 2007, 9:56am UTC](https://www.ruby-forum.com/t/pretty-tables-cli-scripts/90034 "2007-03-25T09:56:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 25, 2007, 9:56am UTC](https://www.ruby-forum.com/t/pretty-tables-cli-scripts/90034/1 "2007-03-25T09:56:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 25, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/pretty-tables-cli-scripts/90034/2 "2007-03-25T17:06:28Z")

</div>

On 3/25/07, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 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](http://pastie.caboo.se/49402)

See the API documentation for Data::Table  
[http://api.rubyreports.org](http://api.rubyreports.org)

and bug us if you have any questions.  
[http://list.rubyreports.org](http://list.rubyreports.org)

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

-greg

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 25, 2007, 10:51pm UTC](https://www.ruby-forum.com/t/pretty-tables-cli-scripts/90034/3 "2007-03-25T22:51:16Z")

</div>

On Mar 25, 12:05 pm, “Gregory B.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> and bug us if you have any questions.[http://list.rubyreports.org](http://list.rubyreports.org)
> 
> Please use the above list (just a google group), rather than RubyTalk  
> as I’m not always monitoring RubyTalk.
> 
> -greg

That’s exactly what I need, I’ll give it a try. Thanks!
