EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
455 Bytes
#!/usr/bin/env node
// Cross-platform `VAR=x node scripts/run.js` for npm scripts (POSIX inline env fails on Windows cmd/PowerShell).
// Usage: node scripts/with-env.js RUN_TIERS=P1 [MORE=x ...] [playwright args...]. Leading KEY=VALUE args set env, the rest go to run.js.
while (/^[A-Z_][A-Z0-9_]*=/.test(process.argv[2] || '')) {
const [k, ...v] = process.argv.splice(2, 1)[0].split('=');
process.env[k] = v.join('=');
}
require('./run.js');