Files
CurrenciCombo/scripts/complete-todos.ps1

38 lines
1.7 KiB
PowerShell
Raw Permalink Normal View History

# Parallel TODO Completion Script
# This script helps track and complete todos in priority order
Write-Host "`n========================================" -ForegroundColor Cyan
Write-Host " TODO COMPLETION TRACKER" -ForegroundColor Cyan
Write-Host "========================================`n" -ForegroundColor Cyan
# Read remaining todos
$todosFile = "docs/REMAINING_TODOS.md"
if (Test-Path $todosFile) {
Write-Host "Reading todos from: $todosFile" -ForegroundColor Yellow
$content = Get-Content $todosFile -Raw
# Count remaining todos
$remaining = ([regex]::Matches($content, "- \[ \]")).Count
$completed = ([regex]::Matches($content, "- \[x\]")).Count
Write-Host "`nProgress:" -ForegroundColor Cyan
Write-Host " Remaining: $remaining todos" -ForegroundColor Yellow
Write-Host " Completed: $completed todos" -ForegroundColor Green
if ($remaining -gt 0) {
$percent = [math]::Round(($completed / ($remaining + $completed)) * 100, 1)
Write-Host " Completion: $percent%" -ForegroundColor $(if ($percent -gt 50) { "Green" } elseif ($percent -gt 25) { "Yellow" } else { "Red" })
}
} else {
Write-Host "[WARN] Todos file not found: $todosFile" -ForegroundColor Yellow
}
Write-Host "`nQuick Actions:" -ForegroundColor Cyan
Write-Host " 1. Check service status: .\scripts\check-status.ps1" -ForegroundColor White
Write-Host " 2. Verify services: .\scripts\verify-services.ps1" -ForegroundColor White
Write-Host " 3. Test endpoints: .\scripts\test-curl.ps1" -ForegroundColor White
Write-Host " 4. Setup database: .\scripts\setup-database.ps1" -ForegroundColor White
Write-Host " 5. Fix frontend: .\scripts\fix-frontend.ps1" -ForegroundColor White
Write-Host ""