DigiMoji
5x7 digital color words on your terminal.
Installation
Add this line to your application's Gemfile:
gem 'digi_moji'
And then execute:
$ bundle
Or install it yourself as:
$ gem install digi_moji
Usage in your terminal
new command
Try digi_moji new
command with words:
% digi_moji new RUBY
% digi_moji new RUBY --fg=bg_red --bg=bg_yellow
% digi_moji new RUBY --fg=red --bg=red_blink --cell='R'
time command
digi_moji time
outputs current time:
timer command
digi_moji timer
outputs count down timer:
digi_moji help
for more info.
Usage as ruby script
require 'digi_moji'
str = DigiMoji::String.new("HE", fg:'bg_green', bg:'bg_yellow')
puts str
puts
puts str + "LLO!"
puts
puts str.join("LP!", fg:'bg_red')
Output:
Contributing
- Fork it ( https://github.com/[my-github-username]/digi_moji/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