chore: Take the ownership in the CommandRunner trait

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-05-05 19:49:56 +00:00
parent 8a553f4de8
commit 4314cebfbb
4 changed files with 4 additions and 4 deletions

View File

@@ -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<()>;
async fn run(self, options: CliOptions) -> N34Result<()>;
}