ACIL FM
Dark
Refresh
Current DIR:
/lib/python3.9/site-packages/certbot/_internal/cli
/
lib
python3.9
site-packages
certbot
_internal
cli
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
__pycache__
-
chmod
Open
Rename
Delete
cli_constants.py
3.93 MB
chmod
View
DL
Edit
Rename
Delete
cli_utils.py
11.02 MB
chmod
View
DL
Edit
Rename
Delete
group_adder.py
1.05 MB
chmod
View
DL
Edit
Rename
Delete
helpful.py
22.12 MB
chmod
View
DL
Edit
Rename
Delete
paths_parser.py
2.01 MB
chmod
View
DL
Edit
Rename
Delete
plugins_parsing.py
6.06 MB
chmod
View
DL
Edit
Rename
Delete
subparsers.py
4.06 MB
chmod
View
DL
Edit
Rename
Delete
verb_help.py
5.1 MB
chmod
View
DL
Edit
Rename
Delete
__init__.py
25.32 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /lib/python3.9/site-packages/certbot/_internal/cli/paths_parser.py
"""This is a module that adds configuration to the argument parser regarding paths for certificates""" from typing import TYPE_CHECKING from typing import Union from certbot._internal.cli.cli_utils import config_help from certbot._internal.cli.cli_utils import flag_default from certbot.compat import os if TYPE_CHECKING: from certbot._internal.cli import helpful def _paths_parser(helpful: "helpful.HelpfulArgumentParser") -> None: add = helpful.add verb: Union[str, bool] = helpful.verb if verb == "help": verb = helpful.help_arg cpkwargs = { "type": os.path.abspath, "help": "Path to where certificate is saved (with certonly --csr), installed " "from, or revoked" } if verb == "certonly": cpkwargs["default"] = flag_default("auth_cert_path") add(["paths", "install", "revoke", "certonly", "manage"], "--cert-path", **cpkwargs) section = "paths" if isinstance(verb, str) and verb in ("install", "revoke"): section = verb add(section, "--key-path", type=os.path.abspath, help="Path to private key for certificate installation " "or revocation (if account key is missing)") default_cp = None if verb == "certonly": default_cp = flag_default("auth_chain_path") add(["paths", "install"], "--fullchain-path", default=default_cp, type=os.path.abspath, help="Accompanying path to a full certificate chain (certificate plus chain).") add(["paths", "install"], "--chain-path", default=default_cp, type=os.path.abspath, help="Accompanying path to a certificate chain.") add("paths", "--config-dir", default=flag_default("config_dir"), help=config_help("config_dir")) add("paths", "--work-dir", default=flag_default("work_dir"), help=config_help("work_dir")) add("paths", "--logs-dir", default=flag_default("logs_dir"), help="Logs directory.") add(["paths", "show_account"], "--server", default=flag_default("server"), help=config_help("server"))
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply