Improve code structure

Refactored the download_files function in cli.py to separate single file and folder download logic into helper functions, improving readability and maintainability.
This commit is contained in:
√(noham)²
2025-12-13 15:49:42 +01:00
parent 9a4c0b1776
commit ace62ec3f8
3 changed files with 122 additions and 91 deletions

View File

@@ -7,7 +7,7 @@ from gofilepy import GofileClient
client = GofileClient()
# Get folder contents
contents = client.get_contents("GxHNKL")
contents = client.get_contents("QUo3a5")
print("Folder contents:")
print(contents)