
    
                         S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  \R                  " \R                  R                  \R                  R                  5       " S S\R                  5      5       rg	)
zThe Browse command.    )base)browser_dispatcher)flags)log)
propertiesc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Browse   z*Open the current app in a web browser.

  z"          {description}
          a            To open the default service, run:

              $ {command}

          To open a specific service, run:

              $ {command} --service="myService"

          To open a specific version, run:

              $ {command} --service="myService" --version="v1"
          )DESCRIPTIONEXAMPLESc                     U R                   R                  S5        [        R                  R	                  U 5        U R                  SSSS9  U R                  SSSS9  g )	Nz
value(url)z	--versionz-vzvThe version of the app that should be opened. If not specified, choose a version based on the service's traffic split.)helpz	--servicez-szzThe service that should be opened. If not specified, use the default service. May be used in conjunction with `--version`.)display_info	AddFormatr   LAUNCH_BROWSERAddToParseradd_argument)parsers    lib/surface/app/browse.pyArgsBrowse.Args2   sl    
!!,/	$$V,
G  I
 N  P    c                 F   [         R                  R                  R                  R	                  SS9n[
        R                  " UUR                  UR                  UR                  5      nU(       a2  UR                  (       a  [        R                  R                  S5        U$ g)z+Launch a browser, or return a URL to print.T)requiredz>Did not detect your browser. Go to this link to view your app:N)r   VALUEScoreprojectGetr   	BrowseAppserviceversionlaunch_browserr   statusPrint)selfargsr   
url_formats       r   Run
Browse.RunA   s~    $$,,00$0?G#--g.2ll.2ll.2.A.ACJ 			

L	Nr    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r(   __static_attributes__r*   r   r   r	   r	      s3    
	-& P Pr   r	   N)r/   googlecloudsdk.callioper   googlecloudsdk.command_lib.appr   r   googlecloudsdk.corer   r   ReleaseTracksReleaseTrackGABETACommandr	   r*   r   r   <module>r;      s`     ) = 0 # * D%%(($*;*;*@*@A3T\\ 3 B3r   