Turn off help option so that elm-pages run Stars --help gives CLI options output for Stars script.

This commit is contained in:
Dillon Kearns 2023-05-01 14:13:37 -07:00
parent e25dcbc8f0
commit d0a6ad2386

View File

@ -90,6 +90,7 @@ async function main() {
.description("run an elm-pages script")
.allowUnknownOption()
.allowExcessArguments()
.helpOption(false) // allow --help to propogate to the Script to show usage
.action(async (elmModulePath, options, options2) => {
const unprocessedCliOptions = options2.args.splice(
options2.processedArgs.length,