15 Commits

Author SHA1 Message Date
Garnajee
99827e6d20 Merge pull request #2 from NohamR/main
Refactor CLI and client for improved structure and error handling
2025-12-13 16:51:46 +01:00
√(noham)²
00bc2572c9 Add comment explaining x-website-token header value 2025-12-13 15:50:38 +01:00
√(noham)²
ace62ec3f8 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.
2025-12-13 15:49:42 +01:00
√(noham)²
9a4c0b1776 Add download support to CLI and client
Implemented file and folder download functionality in the CLI and GofileClient, including new CLI arguments for downloading by URL or content ID and specifying output directory.
2025-12-13 15:44:20 +01:00
√(noham)²
66731e2fc1 Refactor CLI and client for improved structure and error handling
Refactored the CLI to modularize argument parsing, logging, and output, and improved error handling and progress reporting. The client now uses dataclasses for file metadata, introduces custom exception classes, and provides a more robust upload interface supporting both file paths and file-like objects. Utilities were updated for clarity and type safety.
2025-12-12 18:30:08 +01:00
√(noham)²
cf56e3ca3e Update docs, add dev dependencies, and test script
Revise README with improved installation and usage instructions, add development section, and simplify Python usage example. Bump version to 1.1.2, add optional 'dev' dependencies (pylint) in pyproject.toml, and introduce a minimal test.py script for upload testing.
2025-12-12 18:26:16 +01:00
garnajee
2640b65794 Bump version to 1.1.1 2025-12-12 09:53:09 +01:00
garnajee
672b0de9c5 fix: .env working 2025-12-12 09:52:36 +01:00
garnajee
98c04d9f99 Bump version to 1.1.0 2025-12-10 16:51:36 +01:00
garnajee
ea6c2d7ff9 auto relase on pyproject modification 2025-12-10 16:51:14 +01:00
garnajee
b5de61c433 add push branch specifics 2025-12-10 16:44:02 +01:00
garnajee
3fb6dbfa8b add unwanted macos files 2025-12-10 16:41:21 +01:00
garnajee
005987ca18 add build and release badge 2025-12-10 16:39:56 +01:00
garnajee
8d89a84739 Initial commit 2025-12-10 16:37:49 +01:00
Garnajee
21e6af7b8c Initial commit 2025-12-10 16:27:27 +01:00