perf router template

This commit is contained in:
2025-04-07 14:36:52 +08:00
parent 117be3062d
commit 6807388ab5
18 changed files with 996 additions and 464 deletions

12
cmd/index.ts Normal file
View File

@@ -0,0 +1,12 @@
import { program } from './program.ts';
import { Command } from 'commander';
program.version('1.0.0');
program.addCommand(
new Command('test').action(() => {
console.log('test');
}),
);
program.parse(process.argv);

3
cmd/program.ts Normal file
View File

@@ -0,0 +1,3 @@
import { program } from 'commander';
export { program };