/// Validate cli options. Generate target-server and delete spu group configuration.
Validate cli options. Generate target-server and delete spu group configuration.
Validate cli options . Generate target - server and delete spu group configuration .
fn validate(self) -> Result<(ScConfig, DeleteManagedSpuGroupConfig), CliError> {
        let target_server = ScConfig::new(self.sc, self.profile)?;
        let delete_spu_group_cfg = DeleteManagedSpuGroupConfig { name: self.name };
        // return server separately from config
        Ok((target_server, delete_spu_group_cfg))
    }
fn validate ( self ) -> Result < ( ScConfig , DeleteManagedSpuGroupConfig ) , CliError > { let target_server = ScConfig :: new ( self . sc , self . profile ) ? ; let delete_spu_group_cfg = DeleteManagedSpuGroupConfig { name : self . name } ; // return server separately from config Ok ( ( target_server , delete_spu_group_cfg ) ) }
Validate cli options.
Validate cli options .
self