Project

ltsview

0.0
No commit activity in last 3 years
No release in over 3 years
Ltsview - Labeled Tab Separated Value manipulator Viewer
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0

Runtime

>= 0
 Project Readme

Ltsview

Ltsview - Labeled Tab Separated Value manipulator Viewer

Build Status Gem Version Code CLimate Coverage Status

Supported

  • OSX or Ubuntu
  • Ruby 1.9.3 or 2.0.0 or 2.1.0

Installation

Add this line to your application's Gemfile:

gem 'ltsview'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ltsview

Usage

$ cat logfile.ltsv | ltsview

key select

$ cat logfile.ltsv | ltsview -k firstkey,therdkey

key select and reorder

$ cat logfile.ltsv | ltsview -k firstkey,therdkey --reorder

ignore key select

$ cat logfile.ltsv | ltsview -i firstkey,secondkey

regex key select

$ cat logfile.ltsv | ltsview -r key:regex

load file

$ ltsview -f logfile.ltsv

render json

$ cat logfile.ltsv | ltsview -j

raw mode

$ cat logfile.ltsv | ltsview -l 

appended tag

$ cat logfile.ltsv | ltsview -t sample.tag

Option

  • -k , --keys VAL to display keys select
  • -i, --ignore-key VAL to ignore keys select display
  • -r, --regexp KEY:VAL
  • -f, --file VAL to load ltsv format file
  • -j, --json to render json format
  • -t, --tag to append tag
  • -l, --ltsv to raw format
  • -o, --reorder to reorder keys with --keys option
  • --no-colors to no color

Inspired by

Author

  • Naoto SHINGAKI

Contributors (Thanks!)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request