UNPKG

beesbuild

Version:

构建工具链

16 lines (15 loc) 419 B
#!/usr/bin/env node --experimental-modules import { Command } from "commander"; import { consola } from "@beesbuild/utils"; import { createProgram } from "./command/index.mjs"; const main = async () => { const program = new Command(); try { await createProgram(program).parseAsync(process.argv); } catch (e) { consola.error(e); } finally { consola.info("Done\u3002"); } }; main().catch((r) => r);