A highly customizable command line builder.
Key highlights:
- Support standalone CLI
name
andversion
are now required and not read frompackage.json
.
- Plugins are loaded through config
- This drastically improve startup time, as it does not scan
node_modules
anymore. - Also better support other package manager such as
yarn PnP
andpnpm
.
- This drastically improve startup time, as it does not scan
keywords
are now used for plugin lookup.- Distribute
ESM
along withCJS
.
- support default commands and sub-commands
my-cli cmd1 cmd2 cmd3
- configuration file support
- plugin support: write commands in separate packages and reuse by multiple CLI
- type inference and validation for config, arguments, and options
using zod (exported asz
)
Learn more in the clibuilder
README