feat: Implement Phase 1B: Enhanced CLI Commands

This commit is contained in:
2025-09-18 14:02:37 -07:00
parent b47ff34d5a
commit 2870d23fed
10 changed files with 1036 additions and 134 deletions

View File

@@ -1 +1,38 @@
package garmin
package garmin
import (
"time"
)
// ActivityOptions for filtering activity lists
type ActivityOptions struct {
Limit int
Offset int
ActivityType string
DateFrom time.Time
DateTo time.Time
}
// ActivityDetail represents detailed information for an activity
type ActivityDetail struct {
Activity // Embed garmin.Activity from pkg/garmin/types.go
Description string `json:"description"` // Add more fields as needed
}
// Lap represents a lap in an activity
type Lap struct {
// Define lap fields
}
// Metric represents a metric in an activity
type Metric struct {
// Define metric fields
}
// DownloadOptions for downloading activity data
type DownloadOptions struct {
Format string // "gpx", "tcx", "fit", "csv"
Original bool // Download original uploaded file
OutputDir string
Filename string
}