Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 1.07 KB

README.md

File metadata and controls

52 lines (42 loc) · 1.07 KB

Simple foreign exchage

A command-line tool to convert currencies. It depends on Currency Coverter API

Dependencies

Install (Only tested on Linux)

make install

Install windows (needs to be run as Administrator)

Setup.ps1

First time use

cash 1 usd eur
#api_key (example): 05b811110dfe4133ff1f
#output (With current values): 
#USD 1.00 to EUR: 0.89

You will be asked for your API_KEY only once.

Run

When running, the tool takes your first currency as your primary currency.

Multiple currencies

cash 1 usd eur gbp
#output (With current values): 
#USD 1.00 to EUR: 0.89
#USD 1.00 to GBP: 0.80

Calculate value on the way

You can also make runtime simple calculations like:

cash '12*2+24' usd eur
#output (With current values): 
#USD 48.00 to EUR: 42.65