RangelReale / panyl-cli-sample

Panyl-cli sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

panyl-cli-sample

Complete sample for panyl-cli.

Install

go install github.com/RangelReale/panyl-cli-sample/cmd/panyl-cli-sample@latest

Usage

Using a file

panyl-cli-sample log --with-ansiescape --with-json --with-rubylog --output=ansi file.log
panyl-cli-sample preset all --output=ansi file.log

Using stdin

cmd 2>&1 >/dev/null | panyl-cli-sample preset all --output=ansi -
cmd 2>&1 >/dev/null | panyl-cli-sample preset all --output=ecapplog --ecappname=cmd -

Executing external command

panyl-cli-sample preset all --output=ansi -- echo "process this line"
panyl-cli-sample preset all --output=ecapplog --ecappname=cmd -- echo "process this line"

Author

Rangel Reale (rangelreale@gmail.com)

About

Panyl-cli sample


Languages

Language:Go 100.0%