
                         >   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                  ej                  j                  ej                  j                  ej                  j                          G d d	ej"                                      Zy
)>Print a snippet to add a Maven repository to the pom.xml 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)Mavenr   z{description}ak      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"

    To print a snippet using service account key:

      $ {command} --json-key=path/to/key.json
    )DESCRIPTIONEXAMPLESc                     t        j                         j                  |        t        j                  d      j                  |        | j                  j                  d       y )Nmavenz
value(mvn))r   GetRepoFlagAddToParserGetJsonKeyFlagdisplay_info	AddFormat)parsers    +lib/surface/artifacts/print_settings/mvn.pyArgsz
Maven.Args4   sF    	##F+	!--f5
!!,/    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:
      A maven pom snippet.
    mvn)r	   GetMavenSnippet)selfargss     r   Runz	Maven.Run:   s     =00677r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r   r      s2     G 	-( 0 0

8r   r   N)r"   
__future__r   r   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.artifactsr   3googlecloudsdk.command_lib.artifacts.print_settingsr	   DefaultUniverseOnlyReleaseTracksReleaseTrackALPHABETAGACommandr   r%   r   r   <module>r1      s    E &  ' ( 6 M D%%++T->->-C-C%%((*'8DLL '8* '8r   