Tiny PR script I need

This commit is contained in:
Pieter-Jan Briers
2021-11-24 08:36:43 +01:00
parent e53e842d46
commit 5c0c3d6381

8
Tools/patrons_pr.ps1 Normal file
View File

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