设计tracer
This commit is contained in:
12
src/index.ts
Normal file
12
src/index.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Commander } from "./tracers.ts/commander";
|
||||
import { ArrayTracer } from "./tracers.ts/tracers";
|
||||
|
||||
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