UNPKG

cmd-ts

Version:

> 💻 A type-driven command line argument parser, with awesome error reporting 🤤

9 lines (8 loc) • 286 B
import { Runner } from './runner'; import { Named } from './helpdoc'; /** * A small helper to easily use `process.argv` without dropping context * * @param cmd a command line parser */ export declare function binary<Command extends Runner<any, any> & Named>(cmd: Command): Command;