mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-04 15:57:33 +01:00
8 lines
266 B
TypeScript
Executable File
8 lines
266 B
TypeScript
Executable File
#!/usr/bin/env bun
|
|
import { modelsMain } from '../lib/model-policy-cli.ts';
|
|
|
|
const result = modelsMain(process.argv.slice(2));
|
|
if (result.stdout) process.stdout.write(result.stdout);
|
|
if (result.stderr) process.stderr.write(result.stderr);
|
|
process.exit(result.code);
|