commander-js

commander-js/extra-typings

Infer strong typings for commander options and action handlers

TypeScript
117
12
MIT License

This package provides TypeScript typings for the `commander` library that infer strong types for command options and action handler parameters, enabling better type safety when building CLI applications. It's designed for TypeScript developers using `commander` who want enhanced type inference for their CLI commands and options without changing runtime behavior. The package requires TypeScript 5.0+ and should match the major/minor version of your installed `commander` package.

Total donated
Undistributed
Share with your subscribers: