项目作者: lucawen

项目描述 :
Convert bitcoin to currency and virce-versa
高级语言: Rust
项目地址: git://github.com/lucawen/rbtc.git
创建时间: 2019-04-22T18:56:30Z
项目社区:https://github.com/lucawen/rbtc

开源协议:MIT License

下载


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:

  1. $ cargo build

To run as debug, just run this example:

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

Installation

Install simple typing:

  1. cargo install rbtc

Documentation

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

  1. Get value of a btc value to a currency
  2. USAGE:
  3. rbtc [FLAGS] [OPTIONS] [amount]
  4. FLAGS:
  5. -h, --help Prints help information
  6. -s, --silent Silent information abount currency result
  7. -V, --version Prints version information
  8. -v, --verbose Verbose errors
  9. OPTIONS:
  10. -f, --from <from> Set the initial currency of [default: BTC]
  11. -t, --to <to> Set the final currency to convert [default: USD]
  12. ARGS:
  13. <amount> Set amount to convert to a currency or from a currency [default: 1]

License

MIT

Free Software, Hell Yeah!