Describe the bug
Running the CLI command psat -v the CLI triggers the following error:
Some errors occurred while analyzing the website.
For more information, check the stack trace below:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
It is common to get confused between -V(version) and -v(verbose) and run -v as the first parameter, the error message should follow the same standard as the other message, and if that case happens suggest use -V instead -v.
To Reproduce
Steps to reproduce the behavior:
- Go to the terminal and run
psat -v
- See the error
Expected behavior
Displays a standard message and guides the user in case of confusion
Desktop (please complete the following information):
- OS: MacOS
- Version PSAT CLI 0.11