
    O                        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
 ddlmZ d	d
dZ ej                  ej                  j                   ej                  j"                         G d dej$                               Zee_        y)z-'Bare Metal Solution SSH keys remove command.    )absolute_import)division)unicode_literals)	BmsClient)base)flags)
console_iozL
          Remove an SSH key in Bare Metal Solution given its name.
        za
          To remove an SSH key called ``my-ssh-key'' run:

          $ {command} my-ssh-key
    )DESCRIPTIONEXAMPLESc                   &    e Zd ZdZed        Zd Zy)Removez8Remove an SSH key in Bare Metal Solution given its name.c                 2    t        j                  | d       y)z Register flags for this command.T)
positionalN)r   AddSshKeyArgToParser)parsers    "lib/surface/bms/ssh_keys/remove.pyArgszRemove.Args-   s     
v$7    c                     |j                   j                  j                         }dj                  |j	                               }t        j                  |d       t               }|j                  |      S )Nz(You are about to remove the SSH key [{}]T)messagecancel_on_no)	CONCEPTSssh_keyParseformatNamer	   PromptContinuer   DeleteSshKey)selfargsr   r   clients        r   Runz
Remove.Run2   sX    mm##))+G8??OGgDA[Fw''r   N)__name__
__module____qualname____doc__staticmethodr   r"    r   r   r   r   )   s    @8 8(r   r   N)r&   
__future__r   r   r   %googlecloudsdk.api_lib.bms.bms_clientr   googlecloudsdk.callioper   googlecloudsdk.command_lib.bmsr   googlecloudsdk.core.consoler	   DETAILED_HELPReleaseTracksReleaseTrackALPHAGADeleteCommandr   detailed_helpr(   r   r   <module>r5      s    4 &  ' ; ( 0 2
		 D%%++T->->-A-AB(T ( C(  % r   