AsciiTable
Create ascii table from command line using terminal-table
Gem | Source | Documentation
Installation
Install it yourself as:
gem install ascii_table
Usage
$ ascii_table -h
Message: Help!
Usage: cat data.csv | ascii_table -H -d ";" [options]
-d, --delimiter DELIMITER Delimiter. Default: ;
-H, --header First line is header. Default: no
-A, --table-align POSITION Align all cells to POSITION. Default left
-a, --align COLUMN1=POSITION,... All specific cell to. Example 1=left,3=right,4=center
-s, --separator SEPARATOR Add a separator. Default: empty line
-h, --help Help
Contributing
- Fork it ( https://github.com/neopoly/ascii_table/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request