
    M/eB                         d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z	 ddlm
Z
 ddlmZ dd	lmZ erdd
lmZ ddZy)z6This module creates subparsers for the argument parser    )TYPE_CHECKING)
interfaces)	constants)_EncodeReasonAction)_user_agent_comment_type)CaseInsensitiveList)flag_default)	read_file)helpfulNc           
         ddl m}  | j                  d dt        d      dj	                   |                     | j                  d dt        d      t
        d	
        | j                  ddt        d      t        d
        | j                  dddt        t        j                  j                               t        t        d      d        | j                  dddt        d      d        | j                  ddddt        d      d        | j                  ddt        dt        d       d!"        | j                  d#d$dt        d%      d&        | j                  d#d'dt        d(      d)        | j                  d#d*d+d,t        d,      t        j                  d-.        | j                  d#d/d+d,t        d,      t        j                  d0.       y )1Nr   )sample_user_agentz--user-agent
user_agenta  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.)defaulthelpz--user-agent-commentuser_agent_commentzAdd 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))r   typer   certonlyz--csrcsrz|Path to a Certificate Signing Request (CSR) in DER or PEM format. Currently --csr only works with the 'certonly' subcommand.revokez--reasonreasonz?Specify reason for revoking certificate. (default: unspecified))destchoicesactionr   r   z--delete-after-revoke
store_truedelete_after_revokezjDelete certificates after revoking them, along with all previous and later versions of those certificates.)r   r   r   z--no-delete-after-revokestore_falsezDo not delete certificates after revoking them. This option should be used with caution because the 'renew' subcommand will attempt to renew undeleted revoked certificates.)r   r   r   r   rollbackz--checkpointsNrollback_checkpointsz-Revert configuration N number of checkpoints.)r   metavarr   r   pluginsz--initinitzInitialize plugins.z	--preparepreparezInitialize and prepare plugins.z--authenticatorsappend_constifacesz$Limit to authenticator plugins only.)r   r   r   constr   z--installersz Limit to installer plugins only.)certbot._internal.clientr   addr	   formatr   r
   r   r   REVOCATION_REASONSkeysr   intr   Authenticator	Installer)r   r   s     B/usr/lib/python3/dist-packages/certbot/_internal/cli/subparsers.py_create_subparsersr0      s   :GKKnl<&@* +1&1B1D*E	G GKK$l;O.P%KL GKK
e!49NO GKK+I,H,H,M,M,OP*L4JV	X
 GKK'$%:;23
 GKK*=*$%:;%	& GKK
c3$%;<DF GKK	|F7K*, GKK	L,y:Q68 GKK	">$X. ..5[] GKK	~H$X. **1SU    )r   zhelpful.HelpfulArgumentParserreturnN)__doc__typingr   certbotr   certbot._internalr   certbot._internal.cli.cli_utilsr   r   r   r	   r
   certbot._internal.clir   r0    r1   r/   <module>r:      s,    <    ' ? D ? 8 5-9Ur1   