设计tracer
This commit is contained in:
10
tracers.ts/src/index.ts
Normal file
10
tracers.ts/src/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Commander } from "./commander";
|
||||
import { ArrayTracer } from "./tracer";
|
||||
|
||||
const arrayTracer = ArrayTracer.define<number>({ description: 'Array Tracer' });
|
||||
|
||||
arrayTracer.preset([1, 2, 3]);
|
||||
|
||||
const commander = Commander.getInstance();
|
||||
const commands = commander.output();
|
||||
console.log(commands);
|
||||
Reference in New Issue
Block a user