
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
  ej                  ej                  j                  ej                  j                         G d d	ej                               Zy
)z:Print credential settings to add to the sources.list file.    )absolute_import)division)unicode_literals)base)flags)settings_utilc                   0    e Zd ZdZdddZed        Zd Zy)AptzPrint 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                     t        j                         j                  |        | j                  j	                  d       y )Nz
value(apt))r   GetRepoFlagAddToParserdisplay_info	AddFormat)parsers    +lib/surface/artifacts/print_settings/apt.pyArgszApt.Args2   s-    	##F+
!!,/    c                 0    dt        j                  |      iS )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   RunzApt.Run7   s     =66t<==r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   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>r,      sd    A &  ' ( 6 M D%%++T->->-C-CD'>$,, '> E'>r   