From 7d724d19e5c792920df1ae932b93f83a943a319b Mon Sep 17 00:00:00 2001 From: "Franz Heinzmann (Frando)" Date: Wed, 15 Nov 2023 18:15:47 +0100 Subject: [PATCH] refactor: rename commands::repl to commands::console --- iroh/src/commands.rs | 6 +++--- iroh/src/commands/{repl.rs => console.rs} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename iroh/src/commands/{repl.rs => console.rs} (100%) diff --git a/iroh/src/commands.rs b/iroh/src/commands.rs index dcc31b1200..a02209d95c 100644 --- a/iroh/src/commands.rs +++ b/iroh/src/commands.rs @@ -19,7 +19,7 @@ pub mod blob; pub mod doc; pub mod doctor; pub mod node; -pub mod repl; +pub mod console; pub mod start; pub mod tag; @@ -70,13 +70,13 @@ impl Cli { self.start_args .run_with_command(&rt, &config, |iroh| async move { let env = ConsoleEnv::for_console()?; - repl::run(&iroh, &env).await + console::run(&iroh, &env).await }) .await } else { let iroh = iroh_quic_connect(rt).await.context("rpc connect")?; let env = ConsoleEnv::for_console()?; - repl::run(&iroh, &env).await + console::run(&iroh, &env).await } } Commands::Rpc(command) => { diff --git a/iroh/src/commands/repl.rs b/iroh/src/commands/console.rs similarity index 100% rename from iroh/src/commands/repl.rs rename to iroh/src/commands/console.rs