Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koralowiec/currconv
Dead simple CLI program for currency conversion
https://github.com/koralowiec/currconv
Last synced: about 23 hours ago
JSON representation
Dead simple CLI program for currency conversion
- Host: GitHub
- URL: https://github.com/koralowiec/currconv
- Owner: koralowiec
- Created: 2020-11-01T18:26:25.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T16:16:51.000Z (about 4 years ago)
- Last Synced: 2023-03-08T22:40:11.650Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Currency converter
It's simple CLI currency converter written in Go, which gets exchange rates from [exchangeratesapi.io](https://exchangeratesapi.io/) ([GitHub repository](https://github.com/exchangeratesapi/exchangeratesapi))
## Install
Installing is as simple as typing this:
```bash
go get gitlab.com/koralowiec/currconv
```## Usage
currconv gets 3/4 arguments, where the (1) amount of money (2) in base currency (3) word *to* (3/4) target currency, examples below:
```bash
currconv 10 usd to pln
currconv 222 usd eur
currconv 333.5 USD EUR
```