https://github.com/uk0/rbtc
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uk0/rbtc
- Owner: uk0
- Created: 2020-12-03T14:32:57.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-03T14:59:59.000Z (over 5 years ago)
- Last Synced: 2026-03-29T21:49:35.758Z (2 months ago)
- Language: Rust
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 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 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!**