# File lib/rhc/context_helper.rb, line 155
    def discover_domain_and_app
      if options.target.present?
        options.target.split(/\//)
      elsif options.namespace || options.app
        if options.app =~ /\//
          options.app.split(/\//)
        else
          [options.namespace || namespace_context, options.app]
        end
      end
    end