Crates.io | rbtc |
lib.rs | rbtc |
version | 0.2.2 |
source | src |
created_at | 2019-03-30 19:54:25.033766 |
updated_at | 2019-09-05 18:36:17.633212 |
description | Convert amount from BTC to USD or any other currency and virse-versa |
homepage | https://lucawen.github.io/rbtc/ |
repository | https://github.com/lucawen/rbtc |
max_upload_size | |
id | 124833 |
size | 604,267 |
RBTC is cli to convert BTC to any currency and vice-versa.
For build the binary just:
$ cargo build
To run as debug, just run this example:
$ cargo run -- 1 --from USD --to BTC
Install simple typing:
cargo install rbtc
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]
MIT
Free Software, Hell Yeah!