Example: TypeScript CLI
Source: examples/ts-cli/
A fully typed TypeScript CLI. Showcases:
- Writing the entry file and handlers in TypeScript
- Using
Cli.defineCommandandCli.CommandOptions<T>for typed handler options tsconfig.jsonsetup to compile the project
See also Typed command options in the API reference.