gunshi / default / GunshiParams
Interface: GunshiParams<P>
Gunshi unified parameter type.
This type combines both argument definitions and command context extensions.
Since
v0.27.0
Type Parameters
Type Parameter | Default type | Description |
---|---|---|
P extends object | object | The type of parameters, which can include args and extensions . |
Properties
Property | Type | Description |
---|---|---|
args | P extends object ? A : Args | Command argument definitions. |
extensions | P extends object ? E : object | Command context extensions. |