Factor the rest of CLI offline module out to clap-utils and cli-output crates

This commit is contained in:
Trent Nelson
2020-09-22 20:29:32 -06:00
committed by Trent Nelson
parent 325a7e9f86
commit 7cab638297
11 changed files with 179 additions and 184 deletions

View File

@@ -1,6 +1,5 @@
use crate::{
checks::*, cluster_query::*, nonce::*, offline::return_signers, spend_utils::*, stake::*,
validator_info::*, vote::*,
checks::*, cluster_query::*, nonce::*, spend_utils::*, stake::*, validator_info::*, vote::*,
};
use clap::{value_t_or_exit, App, AppSettings, Arg, ArgMatches, SubCommand};
use log::*;
@@ -21,7 +20,7 @@ use solana_cli_output::{
display::{
build_balance_message, new_spinner_progress_bar, println_name_value, println_transaction,
},
CliAccount, CliSignature, OutputFormat,
return_signers, CliAccount, CliSignature, OutputFormat,
};
use solana_client::{
blockhash_query::BlockhashQuery,