acro-rs

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.

Installation

With cargo

cargo install acro

With homebrew

brew tap nilventosa/acro brew install acro

Usage

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
_disables color output

- -h, --help
Print help information
- -V, --version
Print version information