github.com/Thor77/tail.cr
master / published Jul 23, 2016 / repository
A tail-implementation in crystal.
tail.cr
A tail-implementation in crystal.
Installation
Add this to your application's shard.yml:
dependencies:
tail:
github: Thor77/tail.cr
Usage
require "tail"
Tail.tail "/path/to/target/file" do |new_lines|
puts new_lines
end
Contributing
- Fork it ( https://github.com/Thor77/tail.cr/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
Contributors
- Thor77 Thor77 - creator, maintainer