1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

feat(readme-generator/regen_readme_in_batch): make debug output more readable

This commit is contained in:
Laurent Peuch 2024-03-29 06:53:54 +01:00
parent 9c25346255
commit 96380acab4

View file

@ -37,7 +37,9 @@ async def git(cmd, in_folder=None):
async def regen_readme(repository, branch):
print()
print(f"{repository} -> branch '{branch}'")
print("=" * len(f"{repository} -> branch '{branch}'"))
with tempfile.TemporaryDirectory() as folder:
await git(["clone", f"https://{login}:{token}@github.com/{repository}", "--single-branch", "--branch", branch, folder])