command.d.ts 449 B

12345678910111213141516
  1. import { Command } from 'commander';
  2. import TsHelper from './core';
  3. export interface CommandOption {
  4. version?: string;
  5. tsHelperClazz?: typeof TsHelper;
  6. }
  7. export default class Commander {
  8. program: Command;
  9. commands: Record<string, SubCommand>;
  10. tsHelperClazz: typeof TsHelper;
  11. constructor(options?: CommandOption);
  12. init(argv: string[]): void;
  13. execute(): void;
  14. }
  15. export { Command };
  16. //# sourceMappingURL=command.d.ts.map