pub async fn handle_config_upgrade( config: &Config, target: Option<&str>, verbose: bool, prune_stale: bool, yes: bool, ) -> Result<()>