Open wmertens opened 6 years ago
Hi @wmertens, thanks for the issue. I agree listing available scripts with -h or --help makes sense from a UX perspective, as well as having the help command in the Commands section. Would you be free to make a PR for this?
nps
version: 5.9.0node
version: 8.9.4npm
version: 6.1.0Scripts file (or at least the relevant bits):
The command executed:
The output:
Problem description:
This output does not include the section
Available scripts
that you get when you runnps help
.It also does not include the command
help
in theCommands:
section, so you can't find that out without reading the documentationSuggested solution:
-h
and--help
should also list available scripts. This is IMHO the least surprising UX.