func (o *svcStopTaskOpts) askSvcEnvName() error {
	if o.name != "" {
		return nil
	}

	deployedService, err := o.sel.DeployedService(svcStopTaskNamePrompt, "", o.appName, selector.WithEnv(o.envName), selector.WithSvc(o.name))
	if err != nil {
		return fmt.Errorf("select service: %w", err)
	}
	o.name = deployedService.Svc
	o.envName = deployedService.Env
	return nil
}
// askSvcEnvName ask for environment name
askSvcEnvName ask for environment name
// askSvcEnvName ask for environment name
func (o *svcStopTaskOpts) askSvcEnvName() error {
	if o.name != "" {
		return nil
	}
	deployedService, err := o.sel.DeployedService(svcStopTaskNamePrompt, "", o.appName, selector.WithEnv(o.envName), selector.WithSvc(o.name))
	if err != nil {
		return fmt.Errorf("select service: %w", err)
	}
	o.name = deployedService.Svc
	o.envName = deployedService.Env
	return nil
}
func ( o * svcStopTaskOpts ) askSvcEnvName ( ) error { if o . name != " " { return nil } deployedService , err := o . sel . DeployedService ( svcStopTaskNamePrompt , " " , o . appName , selector . WithEnv ( o . envName ) , selector . WithSvc ( o . name ) ) if err != nil { return fmt . Errorf ( " " , err ) } o . name = deployedService . Svc o . envName = deployedService . Env return nil }
askSvcEnvName ask for environment name
askSvcEnvName ask for environment name