Rust-Rbtc: rbtc — Convert BTC to any currency and vice-versa.

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!

Comments

  • rustfmt + clippy
    rustfmt + clippy

    Oct 1, 2019

                                                                                                                                                                                                           
    Reply