gunshi / definition / define
Function: define() 
ts
function define<Options>(definition): Command<Options>;Define a command with type inference
Type Parameters 
| Type Parameter | Default type | 
|---|---|
Options extends ArgOptions | ArgOptions | 
Parameters 
| Parameter | Type | Description | 
|---|---|---|
definition | Command<Options> | A command definition | 
Returns 
Command<Options>
A command definition with type inference
