
                             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r  SSK	J
r
  SSK	Jr   " S S	\R                  \R                  \
R                  5      rg
)z.Manages content bundles for Policy Controller.    )absolute_import)division)unicode_literals)base)command)contentc                   6    \ rS rSrSrSrSr\S 5       rS r	Sr
g)Enable   a  Installs the template library for Policy Controller.

Google-defined template library can be installed onto Policy Controller
installations. To uninstall the template library, use the `disable` command.

## EXAMPLES

To install a template library:

  $ {command}
policycontrollerc                 R    [         R                  " US5      nUR                  5         g )Nenable)r   Flagsadd_memberships)clsparser	cmd_flagss      Hlib/surface/container/fleet/policycontroller/content/templates/enable.pyArgsEnable.Args*   s    fh/I    c                     [         R                  " XR                  5      nU R                  US5      nUR	                  5        VVs0 s H  u  pEXBR                  U5      _M     nnnU R                  U5      $ s  snnf )NT)r   
FlagParsermessages
path_specsitemsinstall_template_libraryupdate_specs)selfargsr   specspathpoco_cfgupdated_specss          r   Run
Enable.Run/   sv    mm4FOOD$'E $kkm+ND 	--h77+   ]++	s   A7 N)__name__
__module____qualname____firstlineno____doc__feature_namemf_nameclassmethodr   r%   __static_attributes__r'   r   r   r
   r
      s*    
 $,'   ,r   r
   N)r,   
__future__r   r   r   3googlecloudsdk.command_lib.container.fleet.featuresr   =googlecloudsdk.command_lib.container.fleet.membershipfeaturesmf_base;googlecloudsdk.command_lib.container.fleet.policycontrollerr   r   UpdateCommandPocoCommandr
   r'   r   r   <module>r8      sA    5 &  ' D Y O O,T!6!68K8K ,r   