a ‚oeBã@sˆdZddlmZddlmZddlmZddlmZddlm Z ddlm Z ddlm Z dd lm Z ertdd l mZd d d œdd„Zd S)z6This module creates subparsers for the argument parseré)Ú TYPE_CHECKING)Ú interfaces)Ú constants)Ú_EncodeReasonAction)Ú_user_agent_comment_type)ÚCaseInsensitiveList)Ú flag_default)Ú read_file)Úhelpfulzhelpful.HelpfulArgumentParserN)r Úreturnc Cs<ddlm}|jddtdƒd |ƒ¡d�|jddtdƒtd d �|jd d td ƒtdd �|jdddttj   ¡ƒt tdƒdd�|jdddtdƒdd�|jddddtdƒdd�|jddt dtd ƒd!d"�|jd#d$dtd%ƒd&d�|jd#d'dtd(ƒd)d�|jd#d*d+d,td,ƒt jd-d.�|jd#d/d+d,td,ƒt jd0d.�dS)1Nr)Úsample_user_agentz --user-agentZ 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-commentZuser_agent_commentzå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))r ÚtyperZcertonlyz--csrZcsrz|Path to a Certificate Signing Request (CSR) in DER or PEM format. Currently --csr only works with the 'certonly' subcommand.Zrevokez--reasonÚreasonz?Specify reason for revoking certificate. (default: unspecified))ÚdestÚchoicesÚactionr rz--delete-after-revokeÚ store_trueZdelete_after_revokezjDelete certificates after revoking them, along with all previous and later versions of those certificates.)rr rz--no-delete-after-revokeÚ store_falsez¬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.)rrr rZrollbackz --checkpointsÚNZrollback_checkpointsz-Revert configuration N number of checkpoints.)rÚmetavarr rZpluginsz--initÚinitzInitialize plugins.z --prepareZpreparezInitialize and prepare plugins.z--authenticatorsÚ append_constZifacesz$Limit to authenticator plugins only.)rrr Úconstrz --installersz Limit to installer plugins only.)Zcertbot._internal.clientr ÚaddrÚformatrr rrZREVOCATION_REASONSÚkeysrÚintrZ AuthenticatorZ Installer)r r ©rúAC:\Program Files\Certbot\pkgs\certbot\_internal\cli\subparsers.pyÚ_create_subparserssp  ùþ  ý þ üýüý þ þýýr!)Ú__doc__ÚtypingrZcertbotrZcertbot._internalrZcertbot._internal.cli.cli_utilsrrrrr Zcertbot._internal.clir r!rrrr Ús