2020-04-01 19:45:37 -07:00
|
|
|
macro_rules! ACCOUNT_STRING {
|
|
|
|
() => {
|
|
|
|
r#"Can be:
|
|
|
|
* a bs58 pubkey string
|
|
|
|
* path to keypair file
|
|
|
|
* '-' to take json-encoded keypair string from stdin
|
|
|
|
* 'ASK' to ask for a passphrase
|
|
|
|
* path to hardware wallet (usb://..)"#
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
macro_rules! pubkey {
|
|
|
|
($arg:expr, $help:expr) => {
|
|
|
|
$arg.takes_value(true)
|
|
|
|
.validator(is_valid_pubkey)
|
|
|
|
.help(concat!($help, ACCOUNT_STRING!()))
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2019-10-04 16:13:21 -06:00
|
|
|
pub mod cli;
|
2019-10-04 20:54:09 -06:00
|
|
|
pub mod cluster_query;
|
2019-08-08 11:13:06 -06:00
|
|
|
pub mod display;
|
2019-12-10 00:24:44 -08:00
|
|
|
pub mod nonce;
|
2020-01-26 01:27:24 -07:00
|
|
|
pub mod offline;
|
2019-09-29 21:18:15 -07:00
|
|
|
pub mod stake;
|
2019-10-04 15:18:19 -06:00
|
|
|
pub mod storage;
|
2020-04-09 18:05:56 -07:00
|
|
|
pub mod test_utils;
|
2019-09-03 10:38:12 -07:00
|
|
|
pub mod validator_info;
|
2019-09-18 10:29:57 -06:00
|
|
|
pub mod vote;
|