UNPKG

@2fd/command

Version:

Modular command line tool

8 lines (7 loc) 725 B
import { CommandInterface, InputInterface, OutputInterface } from './lib/interfaces'; import { Command } from './lib/command/command'; import { ExecutorCommand } from './lib/command/executor'; import { ArgvInput, ConsoleOutput, ColorConsoleOutput } from './lib/command/io'; import { IgnoreParams, NoParams, Param } from './lib/command/params'; import { FlagConstructor, BooleanFlag, HelpFlag, NullFlag, ValueFlag, ListValueFlag, RequireFlag } from './lib/command/flags'; export { CommandInterface, InputInterface, OutputInterface, Command, ExecutorCommand, ArgvInput, ConsoleOutput, ColorConsoleOutput, IgnoreParams, NoParams, Param, FlagConstructor, BooleanFlag, HelpFlag, NullFlag, ValueFlag, ListValueFlag, RequireFlag };