a
}|gB @ s d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ dd lmZ ertdd
l
mZ ddd
ddZdS )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 C s< ddl m} | jd dtdd| d | jd dtdtd d
| jddtd
tdd
| jdddttj
ttddd | jdddtddd | jddddtddd | jddtdtd 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. d S )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.)defaulthelpz--user-agent-commentZuser_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 Zcertonlyz--csrZcsrz|Path to a Certificate Signing Request (CSR) in DER or PEM format. Currently --csr only works with the 'certonly' subcommand.Zrevokez--reasonreasonz?Specify reason for revoking certificate. (default: unspecified))destchoicesactionr
r z--delete-after-revoke
store_trueZdelete_after_revokezjDelete certificates after revoking them, along with all previous and later versions of those certificates.)r r
r z--no-delete-after-revokestore_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 Zrollbackz
--checkpointsNZrollback_checkpointsz-Revert configuration N number of checkpoints.)r metavarr
r Zpluginsz--initinitzInitialize plugins.z --prepareZpreparezInitialize and prepare plugins.z--authenticatorsappend_constZifacesz$Limit to authenticator plugins only.)r r r
constr z--installersz Limit to installer plugins only.)Zcertbot._internal.clientr addr formatr r r r ZREVOCATION_REASONSkeysr intr Z
AuthenticatorZ Installer)r
r r D/usr/lib/python3.9/site-packages/certbot/_internal/cli/subparsers.py_create_subparsers sp
r! )__doc__typingr Zcertbotr Zcertbot._internalr Zcertbot._internal.cli.cli_utilsr r r r r Zcertbot._internal.clir
r! r r r r