#currency #bitcoin #btc #cli

app rbtc

Convert amount from BTC to USD or any other currency and virse-versa

6 releases

0.2.2 Sep 5, 2019
0.2.1 Apr 1, 2019
0.2.0 Mar 31, 2019
0.1.2 Mar 31, 2019

#3 in #btc

MIT license

370KB
89 lines

RBTC

Build Status Crates.io

RBTC is cli to convert BTC to any currency and vice-versa.

Building for source

For build the binary just:

$ cargo build

To run as debug, just run this example:

$ cargo run -- 1 --from USD --to BTC

Installation

Install simple typing:

cargo install rbtc

Documentation

The documentation, for now, is the help return of tool:

Get value of a btc value to a currency

USAGE:
    rbtc [FLAGS] [OPTIONS] [amount]

FLAGS:
    -h, --help       Prints help information
    -s, --silent     Silent information abount currency result
    -V, --version    Prints version information
    -v, --verbose    Verbose errors

OPTIONS:
    -f, --from <from>    Set the initial currency of [default: BTC]
    -t, --to <to>        Set the final currency to convert [default: USD]

ARGS:
    <amount>    Set amount to convert to a currency or from a currency [default: 1]

License

MIT

Free Software, Hell Yeah!

Dependencies

~22MB
~467K SLoC