advent-of-code/run.ps1
Mikaël Capelle 6c00341ab0 2023 day 10.
2023-12-10 10:09:12 +01:00

13 lines
326 B
PowerShell

param(
[switch]$Test,
[PSDefaultValue()]
[Parameter(Mandatory = $false)]
$Year = 2023,
[Parameter(Mandatory = $true, Position = 0)]
$Day)
$folder = $Test ? "tests" : "inputs"
$env:AOC_VERBOSE = $VerbosePreference -eq "Continue"
Get-Content ".\$Year\$folder\day$Day.txt" | python ".\$Year\day$Day.py"