@wcauchois/program-builder > ProgramBuilder > bind
ProgramBuilder.bind() method
Bind the ProgramBuilder to an action and return a ProgramWithAction suitable for use constructing subcommands.
Signature:bind(action: ProgramMain<T>): ProgramWithAction<T>;
Parameters
Parameter | Type | Description |
---|---|---|
action | ProgramMain<T> |
ProgramWithAction<T>