Skip to main content

run

Function run 

Source
pub async fn run(settings: &Settings, deploy_id: &str) -> Result<(), CliError>
Expand description

Show detailed information about a specific deployment.

This command:

  • Queries deployment metadata (when deployed, by whom, git commit, etc.)
  • Lists all objects included in the deployment with their hashes

Use mz-deploy history to see a list of deployment IDs, then use this command to drill into a specific deployment’s details.

§Arguments

  • settings - Resolved CLI settings (profile, project directory, etc.)
  • deploy_id - The deployment ID to describe

§Returns

Ok(()) if the deployment is found and displayed

§Errors

Returns CliError::Connection for database errors Returns CliError::Message if deployment is not found