lib/shopify_cli/context.rb
def open_browser_url!(uri)
      if tty?
        if linux? && which("xdg-open")
          system("xdg-open", uri.to_s)
        elsif windows?
          system("start \"\" \"#{uri}\"")
        elsif mac?
          system("open", uri.to_s)
        else
          open_url!(uri)
        end
      else
        open_url!(uri)
      end
    end
# will output to the console a link for the user to either copy/paste
# or click on.
#
# #### Parameters
# * `uri` - a http URI to open in a browser
#
will output to the console a link for the user to either copy/paste
or click on.

Parameters
`uri` - a http URI to open in a browser
will output to the console a link for the user to either copy / paste or click on . Parameters ` uri ` - a http URI to open in a browser
def open_browser_url!(uri)
      if tty?
        if linux? && which("xdg-open")
          system("xdg-open", uri.to_s)
        elsif windows?
          system("start \"\" \"#{uri}\"")
        elsif mac?
          system("open", uri.to_s)
        else
          open_url!(uri)
        end
      else
        open_url!(uri)
      end
    end
def open_browser_url! ( uri ) if tty? if linux? && which ( "xdg-open" ) system ( "xdg-open" , uri . to_s ) elsif windows? system ( "start \"\" \"#{uri}\"" ) elsif mac? system ( "open" , uri . to_s ) else open_url! ( uri ) end else open_url! ( uri ) end end
will output to the console a link for the user to either copy/paste
or click on.
will output to the console a link for the user to either copy / paste or click on .
uri