crypto-price-cli

Crates.iocrypto-price-cli
lib.rscrypto-price-cli
version0.1.2
sourcesrc
created_at2022-04-02 14:33:05.963394
updated_at2022-04-02 14:54:18.72576
descriptionCLI to get crypto price from ftx spot market.
homepage
repositoryhttps://github.com/phonbopit/crypto-price-cli
max_upload_size
id560941
size34,009
Chai Phonbopit (Phonbopit)

documentation

README

crypto-price-cli

Crypto Price Command Line in Rust to fetch spot market from FTX

just experiment cli that I learned to create my first cli app with Rust & Clap

Usage

# default is BTC/USD
cargo run

# fetch ETH/USD
cargo run -- -m ETH/USD

# help
cargo run -- --help

TODOs

  • Format & Display the output.
  • Update usage and more options.

APIs

Commit count: 11

cargo fmt