Shard Detail

tail.cr v0.1.0

A tail-implementation in crystal.

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development


tail.cr:
  github: Thor77/tail.cr

Readme

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

  1. Fork it ( https://github.com/Thor77/tail.cr/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • Thor77 Thor77 - creator, maintainer