https://github.com/vegarsti/table
command line utility for printing csv files
https://github.com/vegarsti/table
command-line csv golang table
Last synced: 5 months ago
JSON representation
command line utility for printing csv files
- Host: GitHub
- URL: https://github.com/vegarsti/table
- Owner: vegarsti
- License: mit
- Created: 2020-11-03T22:59:17.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-05-13T09:55:02.000Z (almost 4 years ago)
- Last Synced: 2025-03-11T00:33:55.018Z (about 1 year ago)
- Topics: command-line, csv, golang, table
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# table
## Installation
```sh
$ go get "github.com/vegarsti/table"
```
## Usage
```sh
$ cat examples/imdb.csv
Title,Release Year,Estimated Budget
Shawshank Redemption,1994,$25 000 000
The Godfather,1972,$6 000 000
The Godfather: Part II,1974,$13 000 000
The Dark Knight,2008,$185 000 000
12 Angry Men,1957,$350 000
$ table < examples/imdb.csv # equivalent: cat examples/imdb.csv | table
Title Release Year Estimated Budget
Shawshank Redemption 1994 $25 000 000
The Godfather 1972 $6 000 000
The Godfather: Part II 1974 $13 000 000
The Dark Knight 2008 $185 000 000
12 Angry Men 1957 $350 000
```