The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

mwtail - display tail to your browser

SYNOPSIS

  $ tail -f /path/to/logfile | mwtail

DESCRIPTION

mwtail displays tail to your browser

OPTIONS

mwtail supports the following options.

and supports Mojolicious::Command::daemon options too.

-h|help

show this.

--file

displays the contents of file or, by default, its STDIN.

  $ mwtail --file=/path/to/logfile

--webtailrc

define your custom callback in webtail file.

the code in webtail file is executed when a new line is inserted.

  $ tail -f /path/to/logfile | mwtail --webtailrc=/path/to/webtailrc

mwtail will find webtailrc in the following order.

1. --webtailrc option
2. $ENV{HOME}/.webtailrc

AUTHOR

hayajo <hayajo@cpan.org>

SEE ALSO

https://github.com/r7kamura/webtail

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.