Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Problem: (CRO-300) No easy way to find client's environment variables #700

Merged
merged 1 commit into from
Dec 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion client-cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@ use crate::{ask_passphrase, storage_path, tendermint_url};
#[derive(Debug, StructOpt)]
#[structopt(
name = "client-cli",
about = "Basic CLI tool for interacting with Crypto.com Chain"
about = r#"Basic CLI tool for interacting with Crypto.com Chain

ENVIRONMENT VARIABLES:
CRYPTO_CLIENT_DEBUG Set to `true` for detailed error messages (Default: `false`)
CRYPTO_CHAIN_ID Chain ID of Crypto.com Chain
CRYPTO_CLIENT_STORAGE Storage directory (Default: `.storage`)
CRYPTO_CLIENT_TENDERMINT Websocket endpoint for tendermint (Default: `ws://localhost:26657/websocket`)
"#
)]
pub enum Command {
#[structopt(name = "wallet", about = "Wallet operations")]
Expand Down