feat: 更新构建配置,修复解析逻辑并添加程序入口
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bun
|
||||
import { parse } from '../dist/app.js';
|
||||
import { parse } from '../dist/program.js';
|
||||
|
||||
const args = process.argv.slice(2);
|
||||
const result = parse(args);
|
||||
const result = await parse(args);
|
||||
console.log(result, args);
|
||||
|
||||
Reference in New Issue
Block a user