fix: 打包修改
This commit is contained in:
@@ -9,4 +9,9 @@ import './command/config.ts';
|
||||
import './command/web.ts';
|
||||
import './command/router.ts';
|
||||
|
||||
program.parse(process.argv);
|
||||
// program.parse(process.argv);
|
||||
|
||||
export const runParser = async (argv: string[]) => {
|
||||
// program.parse(process.argv);
|
||||
program.parse(argv);
|
||||
};
|
||||
|
||||
3
src/run.ts
Normal file
3
src/run.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { runParser } from './index.ts';
|
||||
|
||||
runParser(process.argv);
|
||||
Reference in New Issue
Block a user