Extracting the cliDeploymentDelegate out of the cli-runner