文件操作 - group_adder.py
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/certbot/_internal/cli/group_adder.py
编辑文件内容
"""This module contains a function to add the groups of arguments for the help display""" from certbot._internal.cli.verb_help import VERB_HELP def _add_all_groups(helpful): helpful.add_group("automation", description="Flags for automating execution & other tweaks") helpful.add_group("security", description="Security parameters & server settings") helpful.add_group("testing", description="The following flags are meant for testing and integration purposes only.") helpful.add_group("paths", description="Flags for changing execution paths & servers") helpful.add_group("manage", description="Various subcommands and flags are available for managing your certificates:", verbs=["certificates", "delete", "renew", "revoke", "update_symlinks"]) # VERBS for verb, docs in VERB_HELP: name = docs.get("realname", verb) helpful.add_group(name, description=docs["opts"])
修改文件时间
将文件时间修改为当前时间的前一年
删除文件