12 lines
273 B
PowerShell
12 lines
273 B
PowerShell
param(
|
|
[switch]$Test,
|
|
[PSDefaultValue()]
|
|
[Parameter(Mandatory = $false)]
|
|
$Year = 2023,
|
|
[Parameter(Mandatory = $true, Position = 0)]
|
|
$Day)
|
|
|
|
$folder = $Test ? "tests" : "inputs"
|
|
|
|
Get-Content ".\$Year\$folder\day$Day.txt" | python ".\$Year\day$Day.py"
|