UNPKG

tiny-bin

Version:

A library for building tiny and beautiful command line apps.

17 lines (16 loc) 455 B
import Commands from './commands.js'; import Config from './config.js'; import Logger from './logger.js'; import type { BinOptions } from '../types.js'; import type Command from './command.js'; declare class Bin { stdout: Logger; stderr: Logger; config: Config; commands: Commands; command: Command; constructor(options: BinOptions); fail(message: string): never; run(argv?: string[]): Promise<void>; } export default Bin;