PaintingGem
When executing commands rails command_name, the text is displayed in the logs. It is possible to display your text\character image.
Installation
Add this line to your application's Gemfile:
gem 'painting_gem'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install painting_gem
Usage
By default the character image is displayed in the logs: ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░▄▄▄▄▄▄▄░░░░░░░░░ ░░░░░░░░░▄▀▀▀░░░░░░░▀▄░░░░░░░ ░░░░░░░▄▀░░░░░░░░░░░░▀▄░░░░░░ ░░░░░░▄▀░░░░░░░░░░▄▀▀▄▀▄░░░░░ ░░░░▄▀░░░░░░░░░░▄▀░░██▄▀▄░░░░ ░░░▄▀░░▄▀▀▀▄░░░░█░░░▀▀░█▀▄░░░ ░░░█░░█▄▄░░░█░░░▀▄░░░░░▐░█░░░ ░░▐▌░░█▀▀░░▄▀░░░░░▀▄▄▄▄▀░░█░░ ░░▐▌░░█░░░▄▀░░░░░░░░░░░░░░█░░ ░░▐▌░░░▀▀▀░░░░░░░░░░░░░░░░▐▌░ ░░▐▌░░░░░░░░░░░░░░░▄░░░░░░▐▌░ ░░▐▌░░░░░░░░░▄░░░░░█░░░░░░▐▌░ ░░░█░░░░░░░░░▀█▄░░▄█░░░░░░▐▌░ ░░░▐▌░░░░░░░░░░▀▀▀▀░░░░░░░▐▌░ ░░░░█░░░░░░░░░░░░░░░░░░░░░█░░ ░░░░▐▌▀▄░░░░░░░░░░░░░░░░░▐▌░░ ░░░░░█░░▀░░░░░░░░░░░░░░░░▀░░░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
You can create an initializer for painting_gem and change the image.
Execute:
$ rails g painting_gem:install
The command is created config/initializers/painting_gem.rb
Change these configs in your file, for example:
PaintingGem.configure do |config| config.file_path = 'lib/file.txt' end
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/ViktoriyaHor/painting_gem.
License
The gem is available as open source under the terms of the MIT License.