Skip to content
/ ec Public

GNU-like Golang terminal tool for rendering CSV files

Notifications You must be signed in to change notification settings

rreinold/ec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ec: easy csv rendering

Purpose

GNU-like terminal tool for rendering CSV files

Usage

1. Parameter

$ ec my_data.csv

┌─────┬─────┬─────┐
│ ABC │ DEF │ GHJ │
└─────┴─────┴─────┘

2. Stdin

$ echo abc,def,ghj | ec

┌─────┬─────┬─────┐
│ ABC │ DEF │ GHJ │
└─────┴─────┴─────┘

It is designed to be used in a series of GNU commands:

echo "great,row,full,of,goodies\nboring,row,that,i,dislike" | grep great | ec

┌───────┬─────┬──────┬────┬─────────┐
│ GREAT │ ROW │ FULL │ OF │ GOODIES │
└───────┴─────┴──────┴────┴─────────┘

Help

$ ec --help
Usage of ec:
  $1 string
        filename
	ec my_csv.csv
  -f string
        filename
	ec -f my_csv.csv

Roadmap

  • Filter rows by search, retaining headers
  • tsv support
  • autodetect delimiter
  • styling parameter

About

GNU-like Golang terminal tool for rendering CSV files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages