Crates.io | forex |
lib.rs | forex |
version | 0.1.1 |
source | src |
created_at | 2020-03-18 02:54:24.081925 |
updated_at | 2020-03-18 04:19:05.878441 |
description | Converting currencies in your terminal |
homepage | |
repository | https://github.com/alvinmatias69/forex |
max_upload_size | |
id | 220042 |
size | 355,954 |
Converting currencies in your terminal
$ make build
make sure you've rust (1.43 nightly) installed on your system.
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