[][src]Function solana_clap_utils::keypair::keypair_input

pub fn keypair_input(
    matches: &ArgMatches,
    keypair_name: &str
) -> Result<KeypairWithSource, Box<dyn Error>>

Checks CLI arguments to determine whether a keypair should be:

  • inputted securely via stdin,
  • read in from a file,
  • or newly generated