MCPcopy Create free account
hub / github.com/clockwork-xyz/clockwork / parse_keypair_file

Function parse_keypair_file

cli/src/parser.rs:310–313  ·  view source on GitHub ↗
(arg: &str, matches: &ArgMatches)

Source from the content-addressed store, hash-verified

308}
309
310fn parse_keypair_file(arg: &str, matches: &ArgMatches) -> Result<Keypair, CliError> {
311 Ok(read_keypair_file(parse_string(arg, matches)?)
312 .map_err(|_err| CliError::BadParameter(arg.into()))?)
313}
314
315fn parse_http_method(arg: &str, matches: &ArgMatches) -> Result<HttpMethod, CliError> {
316 Ok(HttpMethod::from_str(parse_string(arg, matches)?.as_str())

Callers 1

parse_worker_commandFunction · 0.85

Calls 1

parse_stringFunction · 0.85

Tested by

no test coverage detected