forked from nus-cs2113-AY2324S2/tp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request nus-cs2113-AY2324S2#82 from JeffinsonDarmawan/Jeff…
…inson-UML DG2
- Loading branch information
Showing
3 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Design & Implementation | ||
|
||
## Flower Removal Command | ||
|
||
**Step 1:** Removing flowers utilise the `parser` class to parse user command to identify which flower to remove, | ||
how much to remove and from which bouquet to remove. | ||
|
||
**Step 2:** User will input `remove <flowerName> /q <quantity> /from <bouquetName>` and once `parser` identifies the | ||
appropriate keywords, it will instantiate the `HelpCommand` class and run its `execute()` method. | ||
|
||
**Step 3:** `HelpCommand` class will call `printHelpMessage()` method of `Ui` class | ||
|
||
**Step 4:** The list of valid commands will be printed by the `Ui` class |