
    B                     n    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  G d dej                        Z
y	)
z'Deployment Manager resources sub-group.    )absolute_import)division)unicode_literals)
exceptions)basec                   .    e Zd ZdZddiZed        Zd Zy)	ResourceszlCommands for Deployment Manager resources.

  Commands to list and examine resources within a deployment.
  EXAMPLESa            To view all details about a resource, run:

            $ {command} describe my-resource --deployment my-deployment

          To see the list of all resources in a deployment, run:

            $ {command} list --deployment my-deployment
          c                 *    | j                  dd       y)zArgs is called by calliope to gather arguments for this command.

    Args:
      parser: An argparse parser that you can use to add arguments that go
          on the command line after this command. Positional arguments are
          allowed.
    z--deploymentzDeployment name)helpN)add_argument)parsers    4lib/surface/deployment_manager/resources/__init__.pyArgszResources.Args,   s     ->?    c                 F    |j                   st        j                  d      y )Nz!argument --deployment is required)
deploymentr   ArgumentError)selfunused_tool_contextargss      r   FilterzResources.Filter7   s     ??$$%HII r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r	   r	      s4      
- @ @Jr   r	   N)r   
__future__r   r   r   )googlecloudsdk.api_lib.deployment_managerr   googlecloudsdk.callioper   Groupr	   r   r   r   <module>r$      s+     . &  ' @ (J

 Jr   