UNPKG

firmament-yargs

Version:

Typescript classes for building CLI node applications

20 lines (16 loc) 337 B
import 'reflect-metadata'; import kernel from '../../inversify.config'; import {CommandLine} from "../.."; const commandLine = kernel.get<CommandLine>('CommandLine'); commandLine.printTable([ { Bland: 'Very', Scrot: 'Stuben', Lorch: 'Plink' }, { Bland: 'Very1', Scrot: 'Stuben2', Lorch: 'Plink3' } ]);