????
Current Path : /usr/lib/python3.6/site-packages/certbot/_internal/cli/__pycache__/ |
Current File : //usr/lib/python3.6/site-packages/certbot/_internal/cli/__pycache__/subparsers.cpython-36.pyc |
3 گaB � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm Z ddlmZ dd lmZ ertdd l mZ ddd �dd�ZdS )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 dtd�dj|� �d� | jd dtd�td d � | jddtd �tdd � | jdddttj j � �ttd�dd� | jdddtd�dd� | jddddtd�dd� | 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.)�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 �typer Zcertonlyz--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 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-revokeZstore_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.)r r r r Zrollbackz --checkpoints�NZrollback_checkpointsz-Revert configuration N number of checkpoints.)r �metavarr r Zpluginsz--initZinitzInitialize plugins.z --prepareZpreparezInitialize and prepare plugins.z--authenticatorsZappend_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_REASONS�keysr �intr Z AuthenticatorZ Installer)r r � r � /usr/lib/python3.6/subparsers.py�_create_subparsers sX r )�__doc__Ztypingr Zcertbotr Zcertbot._internalr Zcertbot._internal.cli.cli_utilsr r r r r Zcertbot._internal.clir r r r r r �<module> s