MCPcopy Create free account
hub / github.com/base/base / parse

Method parse

crates/execution/cli/src/chainspec.rs:17–19  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

15 const SUPPORTED_CHAINS: &'static [&'static str] = ChainConfig::SUPPORTED_NAMES;
16
17 fn parse(s: &str) -> eyre::Result<Arc<Self::ChainSpec>> {
18 chain_value_parser(s)
19 }
20}
21
22/// Clap value parser for [`BaseChainSpec`]s.

Callers 1

cmdFunction · 0.45

Calls 1

chain_value_parserFunction · 0.85

Tested by

no test coverage detected