ó
Á£ô_c           @   s[   d  Z  d d l m Z d d l m Z d d l m Z m Z m Z m	 Z	 m
 Z
 d „  Z d S(   s6   This module creates subparsers for the argument parseriÿÿÿÿ(   t
   interfaces(   t	   constants(   t   flag_defaultt	   read_filet   CaseInsensitiveListt   _user_agent_comment_typet   _EncodeReasonActionc         C   s#  d d l  m } |  j d  d d t d ƒ d d j | ƒ  ƒ ƒ|  j d  d d t d	 ƒ d
 t d d ƒ|  j d d d t d ƒ d
 t d d ƒ|  j d d d d d t t	 t
 j d t
 j j ƒƒ d t d t d ƒ d d ƒ|  j d d d d d t d ƒ d d ƒ|  j d d d d d d d t d ƒ d d ƒ|  j d d  d
 t d! d" d t d# ƒ d d$ ƒ|  j d% d& d d d t d' ƒ d d( ƒ|  j d% d) d d d t d* ƒ d d+ ƒ|  j d% d, d d- d d. d t d. ƒ d/ t j d d0 ƒ|  j d% d1 d d- d d. d t d. ƒ d/ t j d d2 ƒd  S(3   Niÿÿÿÿ(   t   sample_user_agents   --user-agentt   defaultt
   user_agentt   helpsÎ  Set a custom user agent string for the client. User agent strings allow the CA to collect high level statistics about success rates by OS, plugin and use case, and to know when to deprecate support for past Python versions and flags. If you wish to hide this information from the Let's Encrypt server, set this to "". (default: {0}). The flags encoded in the user agent are: --duplicate, --force-renew, --allow-subset-of-names, -n, and whether any hooks are set.s   --user-agent-commentt   user_agent_commentt   typeså   Add a comment to the default user agent string. May be used when repackaging Certbot or calling it from another tool to allow additional statistical data to be collected. Ignored if --user-agent is set. (Example: Foo-Wrapper/1.0)t   certonlys   --csrt   csrs|   Path to a Certificate Signing Request (CSR) in DER or PEM format. Currently --csr only works with the 'certonly' subcommand.t   revokes   --reasont   destt   reasont   choicest   keyt   actions?   Specify reason for revoking certificate. (default: unspecified)s   --delete-after-revoket
   store_truet   delete_after_revokesj   Delete certificates after revoking them, along with all previous and later versions of those certificates.s   --no-delete-after-revoket   store_falses¬   Do not delete certificates after revoking them. This option should be used with caution because the 'renew' subcommand will attempt to renew undeleted revoked certificates.t   rollbacks   --checkpointst   metavart   Nt   rollback_checkpointss-   Revert configuration N number of checkpoints.t   pluginss   --initt   inits   Initialize plugins.s	   --preparet   prepares   Initialize and prepare plugins.s   --authenticatorst   append_constt   ifacest   consts$   Limit to authenticator plugins only.s   --installerss    Limit to installer plugins only.(   t   certbot._internal.clientR   t   addt   NoneR   t   formatR   R   R   t   sortedR   t   REVOCATION_REASONSt   getR   t   intR    t   IAuthenticatort
   IInstaller(   t   helpfulR   (    (    sD   /usr/lib/python2.7/site-packages/certbot/_internal/cli/subparsers.pyt   _create_subparsers   sZ    									N(   t   __doc__t   certbotR    t   certbot._internalR   t   certbot._internal.cliR   R   R   R   R   R-   (    (    (    sD   /usr/lib/python2.7/site-packages/certbot/_internal/cli/subparsers.pyt   <module>   s   (	