modulepackage
0.0.0-20230329020252-d7da9ffff2df
Repository: https://github.com/erik/vxsv.git
Documentation: pkg.go.dev
# README
vxsv
view x separated values.
A terminal viewer for tabular data (CSV, TSV, etc.) Can also be used as a pager for scrolling through Postgres / MySQL command line output.
installation
go get -u github.com/erik/vxsv/cmd/vxsv
usage
$ vxsv --help
Usage:
vxsv [--psql | --mysql | --delimiter=DELIM | --tabs]
[--no-headers] [--count=N] [PATH | -]
vxsv -h | --help
Arguments:
PATH file to load [defaults to stdin]
Options:
-h --help show this help message and exit.
-p --psql parse output of psql cli (used as a pager)
-m --mysql parse output of mysql cli
-n --count=N only read N records.
-H --no-headers don't read headers from first row (for separated values)
-d --delimiter=DELIM separator for values [default: ,].
-t --tabs use tabs as separator value.
postgres
$ PAGER='vxsv -p' psql ...
mysql
$ mysql ...
mysql> \P vxsv -m
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Parses MySQL output format:
+------+------+------+ | colA | colB | colC | +------+------+------+ | foo | bar | baz | | foo2 | bar2 | baz2 | +------+------+------+ 2 rows in set.
Parses Postgres output format:
colA | colB | colC ------+------+----- foo | bar | baz foo2 | bar2 | baz2 (2 rows).
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: Move this to the Modified attribute.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author