README update with info about ssh. Version bump.

pull/42/head v1.4.0
Maciej Winnicki 2015-02-10 00:29:43 +01:00
parent 3b1b976c87
commit 77bddbe17e
3 changed files with 7 additions and 3 deletions

View File

@ -9,6 +9,7 @@
* search (```Tab``` to focus, ```Esc``` to clear)
* basic authentication
* working over ssh
* log rotation
* auto-scrolling
* marking logs
@ -43,6 +44,9 @@
--ui-hide-topbar hide topbar (log file name and search box)
--ui-no-indent don't indent log lines
--ui-highlight [path] highlight words or lines if defined string found in logs, default preset ./preset/default.json
--remote-host <remote_host> setting the remote host for a tail over ssh (e.g: 192.168.0.2)
--remote-user <remote_user> setting the remote user for a tail over ssh, default root
--remote-port <remote_port> setting the remote port for a tail over ssh, default 22
Web interface is on **http://localhost:[port]**.

View File

@ -5,9 +5,9 @@ var program = require('commander');
program
.version(require('../package.json').version)
.usage('[options] [file ...]')
.option('--remote-host <remote_host>', 'setting the remote host for a tail over ssh ( e.g: 192.168.0.2 )', String,
.option('--remote-host <remote_host>', 'setting the remote host for a tail over ssh (e.g: 192.168.0.2)', String,
null)
.option('--remote-user <remote_user>', 'setting the remote user for a tail over ssh, default: root', String, 'root')
.option('--remote-user <remote_user>', 'setting the remote user for a tail over ssh, default root', String, 'root')
.option('--remote-port <remote_port>', 'setting the remote port for a tail over ssh, default 22', Number, 22)
.option('-h, --host <host>', 'listening host, default 0.0.0.0', String, '0.0.0.0')
.option('-p, --port <port>', 'listening port, default 9001', Number, 9001)

View File

@ -1,6 +1,6 @@
{
"name": "frontail",
"version": "1.3.0",
"version": "1.4.0",
"description": "realtime log stream in the browser",
"homepage": "https://github.com/mthenw/frontail",
"author": "Maciej Winnicki <maciej.winnicki@gmail.com>",