Closed AlistairTait12 closed 1 year ago
Need to extend CommandListener to look for arguments supplied after the command entered
CommandListener
For this particular command, it will look for a command, for example: show -n 5
show -n 5
show
-n
-number
5
Need to extend
CommandListener
to look for arguments supplied after the command enteredFor this particular command, it will look for a command, for example:
show -n 5
show
is the command-n
or-number
is the argument indicator5
will let the command know the user wants 5 meals (up to 5 if they exist)