Skip to content

Commit

Permalink
Merge pull request #222 from ziyi105/220-standardise-UG-DG
Browse files Browse the repository at this point in the history
UG: edit command summary table
  • Loading branch information
ziyi105 authored Nov 3, 2023
2 parents 7662bcf + ec6e768 commit 99d7542
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,18 +332,19 @@ Format: `bye`

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
## Command Summary

| Action | Format, Examples |
|---------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Add** | `add name/DISH_NAME price/PRICE ingredient/INGREDIENT1_NAME qty/INGREDIENT1_QTY [, ingredient/INGREDIENT2_NAME qty/INGREDIENT2_QTY, ...]`<br><br/>Example:<br/>`add name/chicken rice price/3.00 ingredient/rice qty/50g, ingredient/chicken qty/100g` |
| **List Menu** | `list_menu` |
| **List Ingredients** | `list_ingredients DISH_INDEX`<br/><br/>Example:<br/>`list_ingredients 1` |
| **Delete** | `delete DISH_INDEX`<br/><br/>Example:<br/>`delete 1` |
| **Edit Price** | `edit_price index/DISH_INDEX price/NEW_PRICE`<br/><br/>Example:<br/>`edit_price index/1 price/4.50` |
| **List Ingredients** | `list_ingredients DISH_INDEX`<br><br/>Example:<br>`list_ingredients 1` |
| **Delete** | `delete DISH_INDEX`<br><br/>Example:<br>`delete 1` |
| **Edit Price** | `edit_price index/DISH_INDEX price/NEW_PRICE`<br><br/>Example:<br>`edit_price index/1 price/4.50` |
| **Show Sale** | `show_sales` |
| **Show Sale by Day** | `show_sale day/DAY_TO_DISPLAY` <br/><br/>Example:<br/>`show_sale day/ 1` |
| **Show Sale by Day** | `show_sale day/DAY_TO_DISPLAY` <br><br/>Example:<br>`show_sale day/ 1` |
| **View Ingredient Stock** | `view_stock` |
| **Buy Ingredients** | `buy_ingredient ingredient/INGREDIENT1_NAME qty/INGREDIENT1_QTY[, ingredient/INGREDIENT2_NAME qty/INGREDIENT2_QTY, ...]`<br/><br/>Example<br/>`buy_ingredient ingredient/chicken qty/500g, ingredient/milk qty/1000ml` |
| **Add Order** | `add_order name/DISH_NAME qty/QUANTITY`<br/><br/>Example:<br/>`add_order name/chicken rice qty/2` |
| **Buy Ingredients** | `buy_ingredient ingredient/INGREDIENT1_NAME qty/INGREDIENT1_QTY[, ingredient/INGREDIENT2_NAME qty/INGREDIENT2_QTY, ...]`<br><br/>Example<br>`buy_ingredient ingredient/chicken qty/500g, ingredient/milk qty/1000ml` |
| **Add Order** | `add_order name/DISH_NAME qty/QUANTITY`<br><br/>Example:<br>`add_order name/chicken rice qty/2` |
| **Previous Day** | `previous_day` |
| **Next Day** | `next_day` |
| **Help** | `help` |
Expand Down

0 comments on commit 99d7542

Please sign in to comment.