Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucawen/rbtc
Convert bitcoin to currency and virce-versa
https://github.com/lucawen/rbtc
bitcoin btc cli conversion currency rust rust-lang
Last synced: 8 days ago
JSON representation
Convert bitcoin to currency and virce-versa
- Host: GitHub
- URL: https://github.com/lucawen/rbtc
- Owner: lucawen
- License: mit
- Created: 2019-04-22T18:56:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-01T19:33:05.000Z (about 5 years ago)
- Last Synced: 2024-09-17T06:41:51.049Z (about 2 months ago)
- Topics: bitcoin, btc, cli, conversion, currency, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 397 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust-cn - rbtc - versa. [<img src="https://api.travis-ci.com/lucawen/rbtc.svg?branch=master">](https://travis-ci.com/lucawen/rbtc/) (应用 / Cryptocurrencies)
- awesome-rust - rbtc - versa. [<img src="https://api.travis-ci.com/lucawen/rbtc.svg?branch=master">](https://travis-ci.com/lucawen/rbtc/) (Applications / Cryptocurrencies)
- awesome-rust-zh - rbtc - 将 BTC 转换为任何货币,反之亦然。[<img src="https://api.travis-ci.com/lucawen/rbtc.svg?branch=master">](https://travis-ci.com/lucawen/rbtc/) (应用 / 加密货币)
- awesome-rust - rbtc - versa. [<img src="https://api.travis-ci.com/lucawen/rbtc.svg?branch=master">](https://travis-ci.com/lucawen/rbtc/) (应用 Applications / 加密货币 Cryptocurrencies)
README
# RBTC
[![Build Status](https://travis-ci.com/lucawen/rbtc.svg?branch=master)](https://travis-ci.com/lucawen/rbtc)
[![Crates.io](https://img.shields.io/crates/v/rbtc.svg)](https://crates.io/crates/rbtc)RBTC is cli to convert BTC to any currency and vice-versa.
#### Building for source
For build the binary just:
```sh
$ cargo build
```
To run as debug, just run this example:
```sh
$ cargo run -- 1 --from USD --to BTC
```
### Installation
Install simple typing:```sh
cargo install rbtc
```### Documentation
The documentation, for now, is the help return of tool:```sh
Get value of a btc value to a currencyUSAGE:
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 errorsOPTIONS:
-f, --from Set the initial currency of [default: BTC]
-t, --to Set the final currency to convert [default: USD]ARGS:
Set amount to convert to a currency or from a currency [default: 1]
```License
----MIT
**Free Software, Hell Yeah!**