13 lines
249 B
PowerShell
13 lines
249 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
$projectRoot = Resolve-Path (Join-Path $scriptDir "..")
|
|
|
|
Push-Location $projectRoot
|
|
try {
|
|
go run ./cmd/export_sql @args
|
|
}
|
|
finally {
|
|
Pop-Location
|
|
}
|