Crates.io | currency_convertor |
lib.rs | currency_convertor |
version | 0.2.2 |
source | src |
created_at | 2024-04-21 14:09:24.783026 |
updated_at | 2024-06-15 23:53:12.483764 |
description | A minimalist terminal currency convertor |
homepage | |
repository | https://github.com/TuxMC-sys/currency_convertor/tree/main |
max_upload_size | |
id | 1215415 |
size | 78,435 |
How to run
currency_converter amount starting_currency_code currency_to_convert_to (optional: -r)
Example:
$ currency_converter 500 USD GBP
500 USD is 394.5705 GBP
It uses the OER API with a user provided API key. The first time you run it, you must refresh your currencies with the -r flag. After that, you can do so as needed. Works on Windows, Linux, and Mac.