05/06 시작 전 ops_sync로 지연 간격만 증분 보완하고, Phase B-1 live env·ncue 실행 래퍼를 반영한다. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
577 B
PowerShell
21 lines
577 B
PowerShell
# DeepCoin CLI wrapper — conda 환경 ncue 고정
|
|
# 사용: .\scripts\run.ps1 06_execute_live.py --once
|
|
param(
|
|
[Parameter(Mandatory = $true, Position = 0)]
|
|
[string]$Script,
|
|
[Parameter(ValueFromRemainingArguments = $true)]
|
|
[string[]]$Rest
|
|
)
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
$root = Split-Path $PSScriptRoot -Parent
|
|
Set-Location $root
|
|
$env:PYTHONUNBUFFERED = "1"
|
|
|
|
$scriptPath = Join-Path $root "scripts" $Script
|
|
if (-not (Test-Path $scriptPath)) {
|
|
throw "스크립트 없음: $scriptPath"
|
|
}
|
|
|
|
& conda run -n ncue --no-capture-output python $scriptPath @Rest
|