
    
                     J    d Z ddlmZ ddlmZ ddlmZ ddlmZ d Zd Z	d Z
y	)
z(Flag utils for networkservices commands.    )base)util)concept_parsers)presentation_specsc                     t         j                  j                  |        t         j                  j	                  |        t         j
                  j	                  |        t         j                  j	                  |        y)z@Adds ListCommand args, but filters a few currently unused flags.N)r   ListCommandArgsURI_FLAGRemoveFromParserFILTER_FLAGSORT_BY_FLAGparsers    8lib/googlecloudsdk/command_lib/network_services/flags.pyAddFilteredListFlagsr      sP    --  (##F+$$V,    c                    | j                  ddd      }t        j                  t        j                  dt        j                         d      t        j                  dt        j                         ddd	i|
      t        j                  dt        j                         ddd	i|
      gdgdgd      j                  |        y)z0Adds gateway and mesh flags to the given parser.zParent of the Route ViewT)mutexrequiredz
--locationzLocation of the parentz	--gatewayzParent Gatewaylocation )flag_name_overridesgroupz--meshzParent Mesh)z--gateway.locationz--mesh.location)specscommand_level_fallthroughsN)
	add_groupr   ConceptParserr   ResourcePresentationSpecr   LocationResourceSpecGatewayResourceSpecMeshResourceSpecAddToParser)r   r   s     r   AddGatewayAndMeshFlagsr#      s    


 t  % 

5
5'')&
 
5
5&&(#-r"2 
5
5##%#-r"20 ".*^"18 Kr   c                     t        j                  t        j                  dt	        j
                         dd      g      j                  |        y)z)Adds routeview flags to the given parser.z--route-viewzRouteView to describeT)r   )r   N)r   r   r   !MultitypeResourcePresentationSpecr   "MeshOrGatewayRouteViewResourceSpecr"   r   s    r   AddRouteViewFlagsr'   B   sD    

>
>557%		 Kr   N)__doc__googlecloudsdk.callioper   +googlecloudsdk.command_lib.network_servicesr   (googlecloudsdk.command_lib.util.conceptsr   r   r   r#   r'    r   r   <module>r-      s&    / ( < D G-!Hr   