From 16e6300c81d5004e8d34666445890322a72c4644 Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Wed, 4 Jun 2025 22:04:14 +0000
Subject: [PATCH] chore(cli): Return `Future` and make the function sync
`CommandRunner:run`
Signed-off-by: Awiteb
---
src/cli/traits.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cli/traits.rs b/src/cli/traits.rs
index 317367d..905192f 100644
--- a/src/cli/traits.rs
+++ b/src/cli/traits.rs
@@ -20,5 +20,5 @@ use crate::error::N34Result;
/// A trait defining the interface for command runners in the CLI.
pub trait CommandRunner {
/// Executes the command and returns a Result indicating success or failure.
- async fn run(self, options: CliOptions) -> N34Result<()>;
+ fn run(self, options: CliOptions) -> impl Future