Skip to content

RangelReale/panyl-cli-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ([email protected])

About

Panyl-cli sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages