You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.2 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
12345678910111213141516171819202122232425262728293031323334353637
  1. # convert
  2. [![Build Status](https://travis-ci.org/theycallmemac/convert.svg?branch=master)](https://travis-ci.org/theycallmemac/convert) [![Crates.io](https://img.shields.io/crates/v/convert.svg)](https://crates.io/crates/convert) [![GitHub license](https://img.shields.io/github/license/theycallmemac/dcurooms.svg)](https://github.com/theycallmemac/convert/blob/master/LICENSE)
  3. A command line tool written in Rust which converts between 33 different currencies using real-time information.
  4. #### Version:
  5. To check the current version of __convert__:
  6. ```convert -V```
  7. #### Conversions:
  8. To carry out any given conversion between currencies try something like:
  9. ```convert 180.50 EUR USD```
  10. This will convert EUR 180.50 to it's USD equivalent using real-time information.
  11. #### Get Currency Rate:
  12. To get the current rate between to currencies use:
  13. ```convert -r JPY ZAR```
  14. In the above example, JPY is acting as teh base currency to get the current rate of ZAR from.
  15. #### List Supported Currencies:
  16. To view the currencies supported by __convert__:
  17. ```convert -l```
  18. This returns the a list of currency codes in the form of USD, EUR, JPY... etc.
  19. #### Help
  20. To see how __convert__ works use:
  21. ```convert -h```