pub async fn run(
settings: &Settings,
limit: Option<usize>,
) -> Result<(), CliError>Expand description
Show deployment history in chronological order (promoted deployments only).
This command:
- Queries all promoted deployments (promoted_at IS NOT NULL) ordered by promoted_at DESC
- Groups deployments by environment and promotion time
- Lists all schemas included in each deployment
Similar to git log - shows historical production deployment activity with
each deployment showing the “commit message” (schemas changed).
§Arguments
settings- Resolved CLI settings (profile, project directory, etc.)limit- Optional limit on number of deployments to show
§Returns
Ok(()) if listing succeeds
§Errors
Returns CliError::Connection for database errors