A tail-implementation in crystal.
Add this to your application's shard.yml
:
dependencies:
tail:
github: Thor77/tail.cr
require "tail"
Tail.tail "/path/to/target/file" do |new_lines|
puts new_lines
end
- 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
- Thor77 Thor77 - creator, maintainer