Files
FitTrack_GarminSync/cli/src
sstent 4443e10037 feat: Add --debug option to CLI for verbose output and fix UnboundLocalError
This commit introduces a global  option to the GarminSync CLI, providing verbose logging and diagnostic information for troubleshooting. It also resolves an  encountered during CLI execution.

Key changes include:

- Implemented a  to manage and propagate the debug flag across CLI commands.

- Refactored  in  to accept and utilize the debug flag, enabling detailed logging of HTTP requests and responses, and added explicit type casting for mypy compliance.

- Updated CLI commands (, ) to access the  from the .

- Resolved  (circular import) by extracting  into a dedicated  module.

- Fixed  in  by using  where  was reassigned.

- Configured  for Poetry-based dependency management.

- Addressed various  type hinting issues and  linting warnings across the CLI codebase to maintain code quality, including fixing  writer typing and  imports.

- Suppressed remaining  errors ( for ) due to persistent false positives, as code logic is sound.
2025-12-22 06:50:26 -08:00
..