chore: add example how to install additional rpc namespace (#4005)

This commit is contained in:
Matthias Seitz
2023-08-01 01:49:19 +02:00
committed by GitHub
parent e560b063f9
commit b28bc8de57
9 changed files with 203 additions and 5 deletions

View File

@ -57,7 +57,7 @@ pub struct Cli<Ext: RethCliExt = ()> {
verbosity: Verbosity,
}
impl Cli {
impl<Ext: RethCliExt> Cli<Ext> {
/// Execute the configured cli command.
pub fn run(mut self) -> eyre::Result<()> {
// add network name to logs dir
@ -98,7 +98,7 @@ impl Cli {
/// Convenience function for parsing CLI options, set up logging and run the chosen command.
#[inline]
pub fn run() -> eyre::Result<()> {
Cli::parse().run()
Cli::<()>::parse().run()
}
/// Commands to be executed