
                         z    S 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s  J	s  J
r
   " S S\R                  5      rg)	zCA command that generates and/or updates help document directoriess.    )absolute_import)division)unicode_literals)baseNc                   .    \ rS rSrSr\S 5       rS rSrg)GenerateCommand   zrGenerate YAML file to implement given command.

The command YAML file is generated in the --output-dir directory.
c                 H    U R                  SSSS9  U R                  SSSS9  g )N
collection
COLLECTIONz4The name of the collection to generate commands for.)metavarhelpz--output-dir	DIRECTORYzThe directory where the generated command YAML files will be written. If not specified then yaml files will not be generated. If no output directory is specified, the new YAML file will be written to stdout.)add_argument)parsers    $lib/surface/meta/generate_command.pyArgsGenerateCommand.Args    s?    
D  G =  ?    c                 X    [         R                  " UR                  UR                  5      $ )N)generate_commandWriteAllYamlr   
output_dir)selfargss     r   RunGenerateCommand.Run.   s    (($//JJr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r   __static_attributes__r   r   r   r   r      s!    
 ? ?Kr   r   )r#   
__future__r   r   r   googlecloudsdk.callioper   0googlecloudsdk.command_lib.meta.generate_commandcommand_libmetar   Commandr   r   r   r   <module>r,      s/     J &  ' ( K KKdll Kr   