[Tan Juay Hee] iP#315
Open
juayhee wants to merge 103 commits into
Open
Conversation
…o generate the right type of Command. Command is the abstract type for all possible commands to Duke. That command is then executed (polymorphism takes care of correct behaviour). * Echo function refactored to use Commands. * Exit function (bye) refactored to use Commands.
* Now echos the task added back to the user * Includes formatting
This reverts commit 2f8c2dc.
This reverts commit bfabfc4.
…of tasks in taskList.
* Added more static methods for formatting in Duke.java * Refactored many Command classes to now use these new methods for formatting
* Mark/Unmark commands now provide feedback in the console
* Updated Task.java to become a parent class of more specific subtpyes of classes.
* DeadlineTask * EventTask * TodoTask
… instead of just adding a Todo type task.
*Changed Duke's introduction and goodbye message
*Updated expected and input files for use in testing
*Added custom DukeException exception *Handles errors for invalid commands *Handles errors for commands with insufficient parameters
Delete dead code
Add assertions
There is only one command for each action. It is inflexible for users who prefer command shorthands. Add more aliases to each action. This gives users more flexibility to choose what they want to use when inputting commands or event types. Example: todo X is the same as t X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Duke
Features
Coming soon