noel-friedrich / terminal

Terminal-style Personal Homepage
https://noel-friedrich.de/terminal
MIT License
44 stars 7 forks source link

TerminalParser forget's required argument(s) #17

Closed noel-friedrich closed 8 months ago

noel-friedrich commented 8 months ago

Example: say --pitch 0.5 does not throw any error, although the required "text" argument is not present. Expected: say --pitch 0.5 should throw the error: ParseError: argument "text" (string) is missing

Fix implementation:
Loop through all argOptions at the end of parsing and check if any required argument does not have the isManuallySetValue set to true.

noel-friedrich commented 8 months ago

fixed and uploaded.