
                             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  SSK	J
r
  \R                  " \R                  R                  \R                  R                  5       " S S	\R                  5      5       rg
)z:Print credential settings to add to the sources.list file.    )absolute_import)division)unicode_literals)base)flags)settings_utilc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Apt   zPrint settings to add to the sources.list.d directory.

Print settings to add to the sources.list.d directory for connecting to an Apt
repository.
z{description}a	      To print a snippet for the repository set in the `artifacts/repository`
    property in the default location:

      $ {command}

    To print a snippet for repository `my-repository` in the default location:

      $ {command} --repository="my-repository"
    )DESCRIPTIONEXAMPLESc                     [         R                  " 5       R                  U 5        U R                  R	                  S5        g )Nz
value(apt))r   GetRepoFlagAddToParserdisplay_info	AddFormat)parsers    +lib/surface/artifacts/print_settings/apt.pyArgsApt.Args2   s-    	##F+
!!,/    c                 2    S[         R                  " U5      0$ )zThis is what gets called when the user runs this command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  An Apt settings snippet.
apt)r   GetAptSettingsSnippet)selfargss     r   RunApt.Run7   s     =66t<==r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r   __static_attributes__r   r   r   r
   r
      s1     		-  0 0>r   r
   N)r$   
__future__r   r   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.artifactsr   3googlecloudsdk.command_lib.artifacts.print_settingsr   ReleaseTracksReleaseTrackALPHABETACommandr
   r   r   r   <module>r1      sb    A &  ' ( 6 M D%%++T->->-C-CD'>$,, '> E'>r   