tail.cr

Version, currently master branch1 version
  • master branchlatestJul 23, 2016

github.com/Thor77/tail.cr

A tail-implementation in crystal.

4 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  tail.cr:
    github: Thor77/tail.cr
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared
License
MIT
Author
Thor77

Dependencies

This version declares no dependencies.

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