
                         R    d Z ddlZddlmZ ddlmZ  G d dej                        Zy)zThe BQ CLI `info` command.    N)bigquery_command)gcloud_runnerc                   $    e Zd ZdZdefdZddZy)Infoinforeturnc                      y)z8If just printing known versions, don't run `init` first.F )selfs    $platform/bq/frontend/command_info.py
_NeedsInitzInfo._NeedsInit   s        Nc                     t        t        j                                t        j                  dg      }|j
                  r>t        d       t        dj                  |j
                  j                                      yy)z'Return the execution information of bq.r   z)With the following gcloud configuration:
 N)printbq_utilsGetInfoStringr   run_gcloud_commandstdoutjoin	readlines)r   procs     r   RunWithArgszInfo.RunWithArgs   sX    	(
 
 
"#++VH5D{{89BGGDKK))+,- r   )r   N)__name__
__module____qualname__usageboolr   r   r
   r   r   r   r      s    
%$ .r   r   )__doc__r   frontendr   gcloud_wrapperr   BigqueryCmdr   r
   r   r   <module>r#      s$       % (.'' .r   