pub async fn handle_release_notes_command(
common: CommonParams,
from: String,
to: Option<String>,
) -> Result<()>Expand description
Handles the release notes generation command.
This function orchestrates the process of generating release notes based on the provided
parameters. It sets up the necessary environment, creates a GitRepo instance,
and delegates the actual generation to the ReleaseNotesGenerator.
§Arguments
common- Common parameters for the command, including configuration overrides.from- The starting point (commit or tag) for the release notes.to- The ending point for the release notes. Defaults to “HEAD” if not provided.
§Returns
Returns a Result indicating success or containing an error if the operation failed.