patrons_pr.ps1 354 B

12345678
  1. #!/usr/bin/env pwsh
  2. param([string]$csvPath)
  3. # Dumps Patreon's CSV download into the list for the progress report
  4. # Have to trim patron names because apparently Patreon doesn't which is quite ridiculous.
  5. Get-content $csvPath | ConvertFrom-Csv -Delimiter "," | select @{l="Name";e={$_.Name.Trim()}} | Sort-Object Name | Join-String Name -Separator ", "