forex

Crates.ioforex
lib.rsforex
version0.1.1
sourcesrc
created_at2020-03-18 02:54:24.081925
updated_at2020-03-18 04:19:05.878441
descriptionConverting currencies in your terminal
homepage
repositoryhttps://github.com/alvinmatias69/forex
max_upload_size
id220042
size355,954
Matias Alvin (alvinmatias69)

documentation

README

Forex

Converting currencies in your terminal

forex demo

Installation

  • Build from source
$ make build

make sure you've rust (1.43 nightly) installed on your system.

  • crates.io TODO

Usage

USAGE:
    forex [FLAGS] [OPTIONS] <amount> [ARGS]

FLAGS:
        --no-cache    bypass cache
    -h, --help        Prints help information
    -V, --version     Prints version information

OPTIONS:
    -p, --precision <precision>    set a custom currency precision [default: 2]

ARGS:
    <amount>       floating number of cash to convert
    <base>         base currency of conversion [default: IDR]
    <target>...    target currency of conversion [default: USD]
    
EXAMPLE:
    $ forex 12000 IDR USD
    $ forex 12000 IDR USD GBP # multiple target currency
    $ forex -p 5 12000 IDR USD # set precision point to 5
    $ forex --no-cache 12000 IDR USD # skip using cache and straight up call the API

API

License

MIT

Commit count: 5

cargo fmt