2023-12-01 09:41:13 +00:00
|
|
|
param(
|
|
|
|
[switch]$Test,
|
|
|
|
[PSDefaultValue()]
|
|
|
|
[Parameter(Mandatory = $false)]
|
|
|
|
$Year = 2023,
|
|
|
|
[Parameter(Mandatory = $true, Position = 0)]
|
|
|
|
$Day)
|
2022-12-13 10:18:31 +00:00
|
|
|
|
2022-12-19 21:17:29 +00:00
|
|
|
$folder = $Test ? "tests" : "inputs"
|
|
|
|
|
2023-12-01 09:41:13 +00:00
|
|
|
Get-Content ".\$Year\$folder\day$Day.txt" | python ".\$Year\day$Day.py"
|