
                             S r SSKJr  SSKJr  SSKJr  SSK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\	R                   5      rg)z%Command for bigtable clusters delete.    )absolute_import)division)unicode_literalsN)clusters)base)	arguments)log)
console_ioc                   V    \ rS rSrSrS\R                  " S5      0r\S 5       r	S r
Srg)	DeleteCluster   zDelete a bigtable cluster.EXAMPLESzp          To delete a cluster, run:

            $ {command} my-cluster-id --instance=my-instance-id

          c                 2    [         R                  " U S5        g)z Register flags for this command.z	to deleteN)r   AddClusterResourceArg)parsers    'lib/surface/bigtable/clusters/delete.pyArgsDeleteCluster.Args+   s     ##FK8    c                 *   UR                   R                  R                  5       n[        R                  " SR                  UR                  5       5      SSS9  [        R                  " U5      n[        R                  " UR                  5       S5        U$ )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:
  Some value that we want to have printed later.
z&You are about to delete cluster: [{0}]T)throw_if_unattendedcancel_on_nocluster)CONCEPTSr   Parser
   PromptContinueformatNamer   Deleter	   DeletedResource)selfargscluster_refresponses       r   RunDeleteCluster.Run0   su     --''--/K0778H8H8JK  {+H((*I6Or    N)__name__
__module____qualname____firstlineno____doc__textwrapdedentdetailed_helpstaticmethodr   r%   __static_attributes__r'   r   r   r   r      s;    " 
//  - 9 9r   r   )r,   
__future__r   r   r   r-   googlecloudsdk.api_lib.bigtabler   googlecloudsdk.callioper   #googlecloudsdk.command_lib.bigtabler   googlecloudsdk.corer	   googlecloudsdk.core.consoler
   DeleteCommandr   r'   r   r   <module>r9      s7    , &  '  4 ( 9 # 2#D&& #r   