Crates.io | currency-converter |
lib.rs | currency-converter |
version | 0.0.1 |
source | src |
created_at | 2020-10-01 16:36:40.104408 |
updated_at | 2020-10-01 16:36:40.104408 |
description | Currency conversion on the command line |
homepage | https://github.com/mohoff/currency-converter |
repository | https://github.com/mohoff/currency-converter |
max_upload_size | |
id | 295083 |
size | 74,143 |
currency-converter
A command line tool written in Rust to convert between currencies.
$ currency-converter 1 eur in usd
1 EUR ⟶ 1.17 USD
--precise
, more decimals might be shown, depending on the conversion rates fetched from the rate providers.--stats
.All configuration options are shown in the --help
output:
Converts an amount of a currency to another currency
USAGE:
currency-converter [FLAGS] [OPTIONS] [ARGS]
ARGS:
<amount> how much of the input currency
<currencies>... currency conversion, e.g. 'turkish lira in usd'
FLAGS:
-h, --help Prints help information
-p, --precise Show sub-cent decimals
-r, --raw Only print output currency value
-s, --stats Show conversion statistics
-V, --version Prints version information
OPTIONS:
--access-key-coinmarketcap <access-key-coinmarketcap> Enables the CoinMarketCap API
--access-key-fixer <access-key-fixer> Enables the Fixer.io API