catcsv

command module
v0.0.0-...-bf541f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

README

catcsv

View your CSV files in your terminal. The output is a formatted table.

Installation

Run the following commands:

go get github.com/da0x/catcsv
go install github.com/da0x/catcsv

Usage

Create a CSV File.

$ cat file.csv 
hello,world
1,2
10,20

Now you can read it directly or use it in a pipe.

$ catcsv file.csv 
┌───────────────┐
│ file.csv      │
├───────┬───────┤
│ hello │ world │
│ 1     │ 2     │
│ 10    │ 20    │
└───────┴───────┘
$ cat file.csv | catcsv -
┌───────┬───────┐
│ hello │ world │
│ 1     │ 2     │
│ 10    │ 20    │
└───────┴───────┘

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL