Example: Webpack CLI
Source: examples/webpack-cli/
Mimics the webpack CLI with a single root command (rootCommand: "webpack"). Showcases:
CliOptions.rootCommandas a string to define the default command- Rich option types:
boolean,string,list,number - Positional arguments
Try it live in the Playground →