def get_environment(options)
      environment = options[:environment]
      # Ask for environment of node if flag environment not set
      environment ||= choose_option(Environment.list(project_root), _('cli.choose_environment'))
      # Check environment existence
      Bebox::Environment.environment_exists?(project_root, environment) ? (return environment) : exit_now!(error(_('cli.not_exist_environment')%{environment: environment}))
    end
def get_environment(options)
      environment = options[:environment]
      # Ask for environment of node if flag environment not set
      environment ||= choose_option(Environment.list(project_root), _('cli.choose_environment'))
      # Check environment existence
      Bebox::Environment.environment_exists?(project_root, environment) ? (return environment) : exit_now!(error(_('cli.not_exist_environment')%{environment: environment}))
    end
Obtain the environment from command parameters or menu