Skip to content

georgek/tabless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tabless

Build Status

A command line utility like less but for displaying tabular data graphically. Like less, tabless does not need to read the entire file (or pipe) before it displays it, so it's quick to use when working on the command line.

This uses tcell and tview to handle the drawing.

Installation

go get github.com/georgek/tabless

Example

# read from file
tabless filename
# read from pipe
table_generator | tabless

Usage

usage: tabless [flags] [filename]

flags:
  -b    display graphical borders (default true)
  -d string
        column delimiter to use (default "\t")

Utilities

Use the included generate-massive-table.py to generate a lot of data for testing. Without a command line argument it generates a huge table so be careful.

# generate 10000 rows
python utils/generate-massive-table.py -r 10000 | tabless
# simulate slow pipe (10 rows per second)
python utils/generate-massive-table.py -s 0.1 -r 10000 | tabless

Releases

No releases published

Packages

No packages published