diff --git a/crates/cuddle-please-commands/src/command.rs b/crates/cuddle-please-commands/src/command.rs index b070f39..031af04 100644 --- a/crates/cuddle-please-commands/src/command.rs +++ b/crates/cuddle-please-commands/src/command.rs @@ -15,7 +15,7 @@ use cuddle_please_misc::{ use crate::{ config_command::{ConfigCommand, ConfigCommandHandler}, gitea_command::{GiteaCommand, GiteaCommandHandler}, - release_command::ReleaseCommand, + release_command::ReleaseCommandHandler, }; #[derive(Parser)] @@ -93,7 +93,7 @@ impl Command { match &self.commands { Some(Commands::Release {}) => { - ReleaseCommand::new(config, git_client, gitea_client) + ReleaseCommandHandler::new(config, git_client, gitea_client) .execute(self.global.dry_run)?; } diff --git a/crates/cuddle-please-commands/src/release_command.rs b/crates/cuddle-please-commands/src/release_command.rs index dd06873..d694c97 100644 --- a/crates/cuddle-please-commands/src/release_command.rs +++ b/crates/cuddle-please-commands/src/release_command.rs @@ -8,13 +8,13 @@ use cuddle_please_misc::{ NextVersion, VcsClient, }; -pub struct ReleaseCommand { +pub struct ReleaseCommandHandler { config: PleaseConfig, git_client: VcsClient, gitea_client: DynRemoteGitClient, } -impl ReleaseCommand { +impl ReleaseCommandHandler { pub fn new( config: PleaseConfig, git_client: VcsClient,