Implement CLI app for API interaction with MFA

- Create full CLI application with authentication, sync triggering, and status checking
- Implement MFA support for secure authentication
- Add token management with secure local storage
- Create API client for backend communication
- Implement data models for User Session, Sync Job, and Authentication Token
- Add command-line interface with auth and sync commands
- Include unit and integration tests
- Follow project constitution standards for Python 3.13, type hints, and code quality
- Support multiple output formats (table, JSON, CSV)
This commit is contained in:
2025-12-18 15:23:56 -08:00
parent 31f96660c7
commit fb6417b1a3
27 changed files with 1502 additions and 44 deletions

24
QWEN.md Normal file
View File

@@ -0,0 +1,24 @@
# GarminSync Development Guidelines
Auto-generated from all feature plans. Last updated: 2025-12-18
## Active Technologies
- Python 3.13 (Constitution requirement: Python Modernization principle) + Click/Typer for CLI (Constitution requirement: cli_interface standard), httpx for API calls, pydantic for data validation, garth/garminconnect for Garmin authentication (006-cli-auth-sync-mfa)
## Project Structure
```
src/
tests/
```
## Commands
cd src [ONLY COMMANDS FOR ACTIVE TECHNOLOGIES][ONLY COMMANDS FOR ACTIVE TECHNOLOGIES] pytest [ONLY COMMANDS FOR ACTIVE TECHNOLOGIES][ONLY COMMANDS FOR ACTIVE TECHNOLOGIES] ruff check .
## Code Style
Python 3.13 (Constitution requirement: Python Modernization principle): Follow standard conventions
## Recent Changes
- 006-cli-auth-sync-mfa: Added Python 3.13 (Constitution requirement: Python Modernization principle) + Click/Typer for CLI (Constitution requirement: cli_interface standard), httpx for API calls, pydantic for data validation, garth/garminconnect for Garmin authentication
<!-- MANUAL ADDITIONS START -->
<!-- MANUAL ADDITIONS END -->