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> + Send; }