pipe2mattermost

command module
v0.0.0-...-de069f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2018 License: MIT Imports: 4 Imported by: 0

README

Pipe2Mattermost

pipe2mattermost is a simple CLI tool that pipes its stdin into Mattermost.

Setup

Put your Mattermost credentials under a mattermost entry in ~/.netrc:

machine mattermost
login yourlogin@company.com
password topsecret

Warning: If this is the first time you use this file make sure you’re the only one with read/write access.

Usage

$ tail -f my.log | pipe2mattermost [-update] <server URL> <channel slug>

If -update is passed it’ll continuously update the same message instead of posting multiple ones.

Each line read is posted as a message. There’s no frequency limit so it’ll post each line as soon as it reads it.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL