From 2ef2fc8a528cb7953bc599588f09a5ad7ac62d2c Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 5 May 2021 11:08:51 +0000 Subject: feat(global): add a shell-like prompt for interfacing with the server during operation --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli.rs') diff --git a/src/cli.rs b/src/cli.rs index d52d7d5..8fab8c2 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -18,7 +18,7 @@ impl Cli { pub async fn execute(matches: ArgMatches<'_>) { if matches.is_present("run") { - run().await.unwrap(); + run().await; } else if let Some(cmd) = matches.subcommand_matches("config") { if cmd.is_present("show") { println!("{:#?}", Config::get().unwrap()); -- cgit v1.2.3