
    c                         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/Command for cleaning up the kubernetes cluster.    )absolute_import)division)print_function)unicode_literals)base)
kubernetesc                   0    e Zd ZdZdddZed        Zd Zy)CleanUpz)Delete the local development environment.a
            Delete the local development environment.

          Use this command to clean up a development environment. This command
          many also be used remove any artifacts of developments environments
          that did not successfully start up.
          z          $ {command}

          To clean up a specific profile:

          $ {command} --minikube-profile=<profile name>
          )DESCRIPTIONEXAMPLESc                 N    |j                  d      }|j                  dd       y )NF)requiredz--minikube-profilezMinikube profile.)help)add_mutually_exclusive_groupadd_argument)clsparsergroups      lib/surface/code/clean_up.pyArgszCleanUp.Args0   s*    ///?E	+2EF    c                 f    t        j                  |j                  xs t         j                         y )N)r   DeleteMinikubeminikube_profileDEFAULT_CLUSTER_NAME)selfargss     r   RunzCleanUp.Run6   s&    d33 >(==?r   N)__name__
__module____qualname____doc__detailed_helpclassmethodr   r    r   r   r
   r
      s1    1-& G G
?r   r
   N)r"   
__future__r   r   r   r   googlecloudsdk.callioper   googlecloudsdk.command_lib.coder   ReleaseTracksReleaseTrackBETAALPHACommandr
   r%   r   r   <module>r.      sc    6 &  % ' ( 6 D%%**D,=,=,C,CD?dll ? E?r   