Expand description
Cli parsers functions.
Enums§
- Socket
Address Parsing Error - Error thrown while parsing a socket address.
Functions§
- hash_
or_ num_ value_ parser - Parse [
BlockHashOrNumber
] - parse_
duration_ from_ secs - Helper to parse a Duration from seconds
- parse_
duration_ from_ secs_ or_ ms - Helper to parse a Duration from seconds if it’s a number or milliseconds if the input contains
a
ms
suffix: - parse_
socket_ address - Parse a
SocketAddr
from astr
. - read_
json_ from_ file - Wrapper around [
reth_fs_util::read_json_file
] which can be used as a clap value parser.