MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / print_separator

Function print_separator

mod/project/git/scripts/deploy.py:29–33  ·  view source on GitHub ↗

打印分割线

()

Source from the content-addressed store, hash-verified

27 DEPLOY_LOGS.append(log_entry)
28
29def print_separator():
30 """打印分割线"""
31 separator = "\n" + "="*60 + "\n" + f"🚀 Git 自动部署 - {datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')}" + "\n" + "="*60 + "\n"
32 print(separator)
33 DEPLOY_LOGS.append(separator)
34
35def run_cmd(cmd, cwd=None):
36 """执行命令并返回输出"""

Callers 1

deploy.pyFile · 0.85

Calls 2

nowMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected