use crate::cli::{OutputFormat, PublishOpts};
use crate::error::Result;
use crate::services::release::PublishService;
pub async fn execute(
workspace_path: &str,
opts: PublishOpts,
format: OutputFormat,
) -> Result<crate::error::CommandExitCode> {
let service = PublishService::new(workspace_path.to_string(), opts);
service.execute(format).await
}