fiatconv

command module
v0.0.0-...-6a00e72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2019 License: MIT Imports: 8 Imported by: 0

README

Currency Conversion Tool

Simple CLI tool to convert currency

Install

Run

go get github.com/ilyakaznacheev/fiatconv

and then call fiatconv -h to get usage instructions

Usage

The tool API is

fiatconv [OPTIONS] [AMOUNT] [SRC] [DST]

Where

Options:

  • --api-url: Exchange API address (optional)
  • --proxy: Proxy server path (optional)

Positional parameters:

  • AMOUNT: decimal amount of source currency;
  • SRC: ISO currency code of source currency;
  • DST: ISO currency code of destination currency;

Example

> fiatconv 1 USD RUB
USD 1.00 -> RUB 64.98

> fiatconv 1 USD JPY
USD 1.00 -> JPY 119

Documentation

Overview

Package main

fietconv is a simple currency converter using external currency rate base (exchangeratesapi.io).

The tool supports proxy server if you can't reach the exchange API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL