Flowterm
String flows in a terminal.
Installation
Add this line to your application's Gemfile:
gem 'flowterm'
And then execute:
$ bundle
Or install it yourself as:
$ gem install flowterm
Basic Usage
# "meow" flows in the terminal.
$ echo meow | flowterm
# "meow"(ASCII Art) flows in the terminal.
$ banner meow | flowterm
# "meow" that is said by a cow flows in the terminal.
$ cowsay meow | flowterm
$ flowterm --help
Usage: flowterm [options]
--speed=speed
--[no-]trap
Advanced Usage
If you use zsh, you can run a command by this command when you typo the command.
# .zshrc
command_not_found_handler()
{
banner "$*" | flowterm
echo "command not found: $*"
return 127
}
License
These codes are licensed under CC0.