archieve-projects/微信机器人/node_modules/cmd-ts/dist/cjs/binary.d.ts

9 lines
286 B
TypeScript

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;