This repository has been archived by the owner on Feb 9, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give more detail about gosteno in the documents
Change-Id: Ib9393531fdfea069f4449063af016e46cf9bdb93
- Loading branch information
Showing
2 changed files
with
69 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# gosteno-prettify | ||
|
||
gosteno-prettify is a command line tool which parses json formatted log lines | ||
from file(s), or stdin, and displays a more human friendly version of each line | ||
to stdout. | ||
|
||
## Setup | ||
|
||
go get -u github.com/cloudfoundry/gosteno | ||
cd $GOPATH/src/github.com/cloudfoundry/gosteno/gosteno-prettify | ||
go install | ||
|
||
Don't forget to add the $GOPATH/bin to the $PATH | ||
|
||
## Usage | ||
|
||
gosteno-prettify [OPTS] [FILE(s)] | ||
|
||
Examples : | ||
|
||
gosteno-prettify f - g | ||
Prettify f's contents, then standard input, then g's contents. | ||
|
||
gosteno-prettify | ||
Prettify contents of stdin. | ||
|
||
Fire `gosteno-prettify -h` to see more options. |