yargs(hideBin(process.argv)) .command("$0", "init rspack project", async argv => { consosle.log('111') }) .help() .parse() if the `builder` is an async function, the help command will run the builder without the help message
yargs(hideBin(process.argv))
.command("$0", "init rspack project", async argv => {
consosle.log('111')
})
.help()
.parse()
if the
builderis an async function, the help command will run the builder without the help message