1 unstable release
0.1.1 | Mar 18, 2020 |
---|---|
0.1.0 |
|
#17 in #currencies
205KB
245 lines
Forex
Converting currencies in your terminal
Installation
- Build from source
$ make build
make sure you've rust (1.43 nightly) installed on your system.
- crates.io TODO
Usage
USAGE:
forex [FLAGS] [OPTIONS] <amount> [ARGS]
FLAGS:
--no-cache bypass cache
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-p, --precision <precision> set a custom currency precision [default: 2]
ARGS:
<amount> floating number of cash to convert
<base> base currency of conversion [default: IDR]
<target>... target currency of conversion [default: USD]
EXAMPLE:
$ forex 12000 IDR USD
$ forex 12000 IDR USD GBP # multiple target currency
$ forex -p 5 12000 IDR USD # set precision point to 5
$ forex --no-cache 12000 IDR USD # skip using cache and straight up call the API
API
License
Dependencies
~4–8.5MB
~184K SLoC