Reference in New Issue
Block a user
Delete Branch "fix/refactor-cli-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #149, #150, #151
#150: Replace 11-parameter config_create() with simple config_create() that initializes to sensible defaults. Callers set fields directly instead of passing 11 positional arguments.
#149: Extract validate_config() from main() — reduces main() from 325 to 281 lines. All 8 sequential flag conflict checks moved into a single validate_config() function.
#151: Extract run_dry_run(), connect_to_server(), send_manifest(), and print_progress() shared helpers to eliminate code duplication between send_files() and send_files_multithreaded().
All 22 unit tests pass.
Pull request closed