Introduce parse function which returns ParsedCommand #1697
Labels
has pull request
Add this label when an issue has a PR which will resolve it
refactor
Code changes that neither fix a defect nor add functionality
This has two advantages:
InputController.js
gets more readable (see the PR)in a following PR, I want to split
ParsedCommand
into two parts (one which holds the data used in theInputController
and one Parser class which does the parsing/validating). By this, we will have a clear processing pipeline of reading from the CLI -> parsing -> Error or Command returned.forget it
I just noticed I can do it in one PR by introducing a
parse
function which returns aparsedCommand
The text was updated successfully, but these errors were encountered: