Gem haskii
25 Mar 2017
Haskiii is a simple CLI built as an exercise on TDD. It is a Ruby gem, click here to take a look into its repository.
Usage
$ gem install haskii
$ haskii bar 2 4 6 8 6 4 2 1 6 5 4 3 2 1
Your happy bar chart:
*
*
*** *
*** **
***** ***
***** ****
******* *****
**************
$ haskii bar --emoji 🍀 1 1 2 3 5 2
Your happy bar chart:
🍀
🍀
🍀🍀
🍀🍀🍀🍀
🍀🍀🍀🍀🍀🍀
$ haskii bar --emoji 🍒 --output chart.html 2 4 6 8 6 4 2 1 6 5 4 3 2 1
Your happy bar chart is in "chart.html"
Terminal still rules :P #igor
While having a great time, I’ve learned that the following command makes an executable.
chmod +x <file-path>