#!/usr/bin/env ts-node import { Logger } from "ihacks-log"; import { Sergeant, Command, CommandGroup, IOption, IRunContext, showTime, ICommandArgument } from "./src"; class Test extends Sergeant { } const test = new Test({ }).add( new Command({ name: "hello", action: (ctx, logger): any => logger.debug("Hello") }), new CommandGroup({ name: "world" }).add( new Command({ name: "hello", action: (ctx, logger): any => logger.debug("Hello") }) ) ).use( showTime() ); test.argv()