Skip to content

Latest commit

 

History

History
401 lines (287 loc) · 11.1 KB

UserGuide.adoc

File metadata and controls

401 lines (287 loc) · 11.1 KB

Fashion Match - User Guide

1. Introduction

Fashion Match (FM) is for those who prefer to use a desktop app for managing dresswear. More importantly, FM is optimized for those who prefer to work with a Command Line Interface (CLI). If you can type fast, AB4 can get your contact management tasks done faster than traditional GUI apps. Interested? Jump to the Section 2, “Quick Start” to get started. Enjoy!

2. Quick Start

  1. Ensure you have Java version 9 or later installed in your Computer.

  2. Download the latest main.jar here.

  3. Copy the file to the folder you want to use as the home folder for FM.

  4. Double-click the jar file to start FM. The GUI will appear shortly after.

    Ui
  5. Type the command in the command box and press Enter to execute it.
    e.g. typing help and pressing Enter will open the help window.

  6. Some example commands you can try:

    • list : lists all apparels

    • addn/Cool Tshirt c/Green t/Top : adds an apparel named Cool Tshirt to Fashion Match.

    • delete3 : deletes the 3rd apparel shown in the current list

    • exit : exits Fashion Match `

  7. Refer to Section 3, “Features” for details of each command.

3. Features

Command Format

  • Words in UPPER_CASE are the parameters to be supplied by the user e.g. in add n/NAME, NAME is a parameter which can be used as add n/Formal Shirt.

  • Items in square brackets are optional e.g n/NAME [c/COLOR] can be used as n/Formal Shirt c/White or as n/Formal Shirt.

  • Parameters can be in any order e.g. if the command specifies n/NAME c/COLOR, c/COLOR n/NAME is also acceptable.

3.1. Viewing help : help

Format: help

3.2. Listing all apparels that matches the given option : list [OPTION] [OPTION-VALUE]

Shows a list of all apparels in FM that matches the given option.

Valid options:
all, top, bottom, belt, shoes, color

Format: list options List all valid list options.

Format: list all List all apparels.

Format: list top List all apparels of clothing type top.

Format: list bottom List all apparels of clothing type bottom.

Format: list belt List all apparels of clothing type belt.

Format: list shoes List all apparels of clothing type shoes.

Format: list color red List all red colored apparels.

3.3. Adding a piece of Apparel: add

Add a piece of apparel to wardrobe
Format: add n/NAME c/COLOR t/CLOTHINGTYPE

Examples:

  • `add n/Zara Shirt c/Red t/Top

  • `add n/Desigual Tailored Pants c/Grey t/Bottom

3.4. Sort all apparels that matches the given option : sort [OPTION]

Sort all apparels in the FM based on the option supplied.

Valid options:
name, color, type

Format: sort options
List all valid sorting options.

Format: sort [OPTION]
Sort all apparels according to the option supplied.

Example: sort the apparels by color
Format: sort color

3.5. Editing an apparel : edit

Edits an existing apparel in FM.
Format: edit INDEX [n/NAME] [c/COLOUR] [t/CLOTHINGTYPE]

  • Edits the apparel at the specified INDEX. The index refers to the index number shown in the displayed apparel list. The index must be a positive integer 1, 2, 3, …​

  • At least one of the optional fields must be provided.

  • Existing values will be updated to the input values.

Examples:

  • edit 1 n/TSHIRT c/ORANGE
    Edits the name and colour of the 1st apparel to be TSHIRT and Orange respectively.

  • edit 2 n/Brown Belt t/Belt
    Edits the name of the 2nd apparel to be Brown Belt and changes type to Belt.

3.6. Making available/washing a piece of apparel : available or wash

Makes an existing apparel in FM available.
Format: wash INDEX or available INDEX

  • Makes available the apparel at the specified INDEX. The index refers to the index number shown in the displayed apparel list. The index must be a positive integer 1, 2, 3, …​

  • Apparel will be made available whether it was available or unavailable before the command.

Examples:

  • wash 1
    Makes available the 1st apparel in the list.

  • available 2
    Makes available the 2nd apparel in the list.

3.7. Making unavailable/dirty a piece of apparel : unavailable or wear

Makes an existing apparel in FM unavailable/dirty and increases times worn by 1.
Format: dirty INDEX or unavailable INDEX

  • Makes unavailable the apparel at the specified INDEX. The index refers to the index number shown in the displayed apparel list. The index must be a positive integer 1, 2, 3, …​

  • Apparel will be made unavailable whether it was available or unavailable before the command.

  • Increases the 'Times worn' counter by 1.

Examples:

  • dirty 1
    Makes available the 1st apparel in the list.

  • unavailable 2
    Makes available the 2nd apparel in the list.

3.8. Locating apparels by name: find

Finds apparels whose names contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]

  • The search is case insensitive. e.g Zara will match zara

  • The order of the keywords does not matter. e.g. Nice Shirt will match Shirt Nice

  • Only the name is searched.

  • Only full words will be matched e.g. Nice will not match Nices

  • Apparels matching at least one keyword will be returned (i.e. OR search). e.g. Zara Uniqlo will return Zara Belt, Uniqlo shoes

Examples:

  • find Zara
    Returns zara and Zara

  • find Zara Uniqlo Shirt
    Returns any apparel having names Zara, Uniqlo or Shirt.

3.9. Deleting an apparel : delete

Deletes the specified apparel from FM.
Format: delete INDEX

  • Deletes the apparel at the specified INDEX.

  • The index refers to the index number shown in the displayed apparel list.

  • The index must be a positive integer 1, 2, 3, …​

Examples:

  • list
    delete 2
    Deletes the 2nd apparel in FM.

  • find Uniqlo
    delete 1
    Deletes the 1st apparel in the results of the find command.

3.10. Selecting a apparel : select

Selects the apparel identified by the index number used in the displayed apparel list.
Format: select INDEX

  • Selects the apparel and loads a picture of the apparel at the specified INDEX.

  • The index refers to the index number shown in the displayed apparel list.

  • The index must be a positive integer 1, 2, 3, …​

Examples:

  • list
    select 2
    Selects the 2nd apparel in FM.

  • find Uniqlo
    select 1
    Selects the 1st apparel in the results of the find command.

3.11. Listing entered commands : history

Lists all the commands that you have entered in reverse chronological order.
Format: history

ℹ️

Pressing the and arrows will display the previous and next input respectively in the command box.

3.12. Undoing previous command : undo

Restores FM to the state before the previous undoable command was executed.
Format: undo

ℹ️

Undoable commands: those commands that modify the FM’s content (add, delete, edit and clear).

Examples:

  • delete 1
    list
    undo (reverses the delete 1 command)

  • select 1
    list
    undo
    The undo command fails as there are no undoable commands executed previously.

  • delete 1
    clear
    undo (reverses the clear command)
    undo (reverses the delete 1 command)

3.13. Redoing the previously undone command : redo

Reverses the most recent undo command.
Format: redo

Examples:

  • delete 1
    undo (reverses the delete 1 command)
    redo (reapplies the delete 1 command)

  • delete 1
    redo
    The redo command fails as there are no undo commands executed previously.

  • delete 1
    clear
    undo (reverses the clear command)
    undo (reverses the delete 1 command)
    redo (reapplies the delete 1 command)
    redo (reapplies the clear command)

3.14. Clearing all entries : clear

Clears all entries from FM.
Format: clear

3.15. Recommend Outfit

Lists a recommended outfit based on what matches in your closet. The matching is done based on what colors match. The outfit must have a TOP, BOTTOM, SHOES. If a matching belt exists, an outfit may be recommended with a BELT.
Format: recommendation

+ image::color_matrix_userguide.jpg[width="790"]

+

3.16. Something Color Select

Returns random apparel of specified COLOR FM.
Format: something COLOR

  • Returns random apparel from specified COLOR.

  • The color refers to the color of apparel.

  • The color must be a one of RED, BLUE, GREEN, WHITE, BLACK, …​

Examples:

  • something RED
    Returns a RED apparel from FM.

  • something BLACK
    Returns a BLACK apparel from FM.

3.17. Random Item Type Select

Returns random specified TYPE of apparel from FM.
Format: random TYPE

  • Returns random apparel from specified TYPE.

  • The type refers to the type of apparel.

  • The type must be a one of TOP, BOTTOM, BELT, SHOES

Examples:

  • random TOP
    Returns a random TOP in FM.

  • random BOTTOM
    Returns a random BOTTOM in FM.

3.18. Calculating use Statistics : stats

Gives an overview of the various statistics of the apparels/wardrobe.
Format: stats or statistics

3.19. Exiting the program : exit

Exits the program.
Format: exit

3.20. Saving the data

FM data are saved in the hard disk automatically after any command that changes the data.
There is no need to save manually.

4. Coming in v2.0

4.1. Know suitable apparels based on occasions

Fashion Match would be able to recommend suitable apparels based on whatever occasion the user is preparing for. For example, if the user is preparing for a formal event, FM will only recommend apparels that match the formal occasion.

4.2. Matched Colors

Fashion Match would also be able to establish relations between certain colors so that it will not recommend conflicting colors.
Examples: red on red, yellow on yellow, etc

4.3. Save Favourite Apparels/Outfits

Users would be able to save their favourite outfits or apparels so that they can quickly identify their favourite clothes for future use.

5. FAQ

Q: How do I transfer my data to another Computer?
A: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous FM folder.

6. Command Summary

  • Add add n/NAME c/COLOR t/CLOTHINGTYPE
    e.g. add n/Bright Tshirt c/Yellow t/Top

  • Clear : clear

  • Delete : delete INDEX
    e.g. delete 3

  • Edit : edit INDEX [n/NAME] [c/COLOR] [t/CLOTHINGTYPE]
    e.g. edit 2 n/Formal Belt c/Brown

  • Find : find KEYWORD [MORE_KEYWORDS]
    e.g. find Formal

  • History : history

  • Help : help

  • List : list

  • Random : random TYPE
    e.g. random TOP

  • Redo : redo

  • Recommendation : recommendation

  • Select : select INDEX
    e.g.select 2

  • Something : something COLOR
    e.g. something RED

  • Undo : undo