Files
Stride/scripts/connect-garmin.ps1
T

7 lines
261 B
PowerShell

$ErrorActionPreference = 'Stop'
Set-Location -LiteralPath (Split-Path -Parent $PSScriptRoot)
& uv run --locked python -m garmin_sync login
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
& uv run --locked python -m garmin_sync sync --limit 5
exit $LASTEXITCODE