Files
jobtrackingapp/scripts/Use-JobjaktBacklog.ps1
T

7 lines
424 B
PowerShell

# Dot-source after setup. This changes only the current terminal, never your profile.
function global:Jobjakt {
$control = Join-Path ([Environment]::GetFolderPath('UserProfile')) '.jobjakt-backlog/single-user-local'
$config = Get-Content -LiteralPath (Join-Path $control 'config.json') -Raw | ConvertFrom-Json
& $config.powershellExecutable -NoProfile -File (Join-Path $control 'Run-JobjaktBacklog.ps1') @args
}