This was done to help me query a csv file with acronyms and their meanings. But I guess it can be used for any csv file that has two columns of which you want to use one to get the other.
acro [OPTIONS] <acronym>
Arguments:
- <acronym>
the acronym to query
Options (short, long, env variable):
- -f, --file, ACROFILE \
_the csv file with the acronyms and definitions
- -a, --acro, ACROCOLUMN
_the column with the acronyms [default: 1]
- -d, --definition, DEFINITIONCOLUMN
_the column with the definitions [default: 2]
- -D, --delimiter, ACRODELIMITER \
_delimiter character between columns [default: ',']
- -H, --header, ACROHEADER
_flag if there is a header line
- -c, --color, ACROCOLOR
_enables color output
- -h, --help
Print help information
- -V, --version
Print version information