UNPKG

tiny-bin

Version:

A library for building tiny and beautiful command line apps.

9 lines (8 loc) 337 B
import Collection from './collection.js'; import type { ArgumentsParsed } from '../types.js'; import type Command from './command.js'; declare class Commands extends Collection<Command> { print(mode?: 'line' | 'lines'): void; run(name: string, options: ArgumentsParsed, argv: string[]): Promise<void>; } export default Commands;