By: CS2103-AY1819S2-W15-1
Since: Feb 2019
Licence: MIT
- 1. Introduction
- 2. Quick Start
- 3. Features
- 3.1. Viewing help :
help
- 3.2. Listing all apparels that matches the given option :
list [OPTION] [OPTION-VALUE]
- 3.3. Adding a piece of Apparel:
add
- 3.4. Sort all apparels that matches the given option :
sort [OPTION]
- 3.5. Swap any two apparels :
sort [INDEX_X] [INDEX_Y]
- 3.6. Editing an apparel :
edit
- 3.7. Washing a piece of apparel :
wash
oravailable
- 3.8. Wearing a piece of apparel :
wear
orunavailable
- 3.9. Locating apparels by name:
find
- 3.10. Deleting an apparel :
delete
- 3.11. Selecting a apparel :
select
- 3.12. Listing entered commands :
history
- 3.13. Undoing previous command :
undo
- 3.14. Redoing the previously undone command :
redo
- 3.15. Clearing all entries :
clear
- 3.16. Recommend outfit :
recommendation
- 3.17. Something color :
something [COLOR]
- 3.18. Random item type :
random [TYPE]
- 3.19. Calculating statistics :
stats
orstatistics
- 3.20. Exiting the program :
exit
- 3.21. Saving the data
- 3.1. Viewing help :
- 4. Coming in v2.0
- 5. FAQ
- 6. Command Summary
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!
-
Ensure you have Java version
9
or later installed in your Computer. -
Download the latest
main.jar
here. -
Copy the file to the folder you want to use as the home folder for FM.
-
Double-click the jar file to start FM. The GUI will appear shortly after.
-
Type the command in the command box and press Enter to execute it.
e.g. typinghelp
and pressing Enter will open the help window. -
Some example commands you can try:
-
list
: lists all apparels -
add
n/Cool Tshirt c/Green t/Top
: adds an apparel namedCool Tshirt
to Fashion Match. -
delete
3
: deletes the 3rd apparel shown in the current list -
exit
: exits Fashion Match
-
-
Refer to Section 3, “Features” for details of each command.
Command Format
-
Words in
UPPER_CASE
are the parameters to be supplied by the user e.g. inadd n/NAME
,NAME
is a parameter which can be used asadd n/Formal Shirt
. -
Items in square brackets are optional e.g
n/NAME [c/COLOR]
can be used asn/Formal Shirt c/White
or asn/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.
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.
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
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
Swap the position of two apparels.
Format: swap 2 5
Swap the position for apparels at index 2 and 5.
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 beTSHIRT
andOrange
respectively. -
edit 2 n/Brown Belt t/Belt
Edits the name of the 2nd apparel to beBrown Belt
and changes type toBelt
.
Makes an existing listed apparel available.
Format: wash INDEX
or available INDEX
-
Makes available the apparel at the specified
INDEX
. -
Does not allow the user to clean an already clean apparel.
-
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 clean if it was worn before the command.
Examples:
Makes an existing apparel in FM worn and increases times worn by 1.
Format: wash INDEX
or unavailable INDEX
-
Makes the apparel’s status worn at the specified
INDEX
. The index refers to the index number shown in the displayed apparel list. -
Apparel will be made worn whether it was worn or clean before the command.
-
Feedback message gently advices you to not be a dirty bum if you wear a worn apparel even if its belts or shoes.
-
Random message guilting you for being dirty is shown to user.
-
Increases the 'Times Worn' counter by 1.
-
The index must be a positive integer 1, 2, 3, …
Examples:
Finds apparels whose names contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]
-
The search is case insensitive. e.g
Zara
will matchzara
-
The order of the keywords does not matter. e.g.
Nice Shirt
will matchShirt Nice
-
Only the name is searched.
-
Only full words will be matched e.g.
Nice
will not matchNices
-
Apparels matching at least one keyword will be returned (i.e.
OR
search). e.g.Zara Uniqlo
will returnZara Belt
,Uniqlo shoes
Examples:
-
find Zara
Returnszara
andZara
-
find Zara Uniqlo Shirt
Returns any apparel having namesZara
,Uniqlo
orShirt
.
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 thefind
command.
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 thefind
command.
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. |
Restores FM to the state before the previous undoable command was executed.
Format: undo
ℹ️
|
Undoable commands: those commands that modify the FM’s content ( |
Examples:
-
delete 1
list
undo
(reverses thedelete 1
command) -
select 1
list
undo
Theundo
command fails as there are no undoable commands executed previously. -
delete 1
clear
undo
(reverses theclear
command)
undo
(reverses thedelete 1
command)
Reverses the most recent undo
command.
Format: redo
Examples:
-
delete 1
undo
(reverses thedelete 1
command)
redo
(reapplies thedelete 1
command) -
delete 1
redo
Theredo
command fails as there are noundo
commands executed previously. -
delete 1
clear
undo
(reverses theclear
command)
undo
(reverses thedelete 1
command)
redo
(reapplies thedelete 1
command)
redo
(reapplies theclear
command)
Lists a recommended outfit based on what matches in your closet. The matching is done based on what colors match. The matching matrix is displayed below. Green means match and red means not match. The algorithm will search for a random outfit that meets the color requirements. The outfit must have a TOP
, BOTTOM
, SHOES
. If a matching belt exists, an outfit may be recommended with a BELT.
Format: recommendation
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.
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.
Gives an overview of the various statistics of the apparels/wardrobe.
Format: stats
or statistics
Typing stats
or statistics
will give you the following several information about your wardrobe:
-
Your favorite apparel
-
Your favorite color
-
Total number of apparel in wardrobe
-
Total number of different colored apparels
-
Your least favorite apparel (a reminder for you to wear them more often!)
-
How clean or dirty is your wardrobe
An example output is shown in the screenshot below:
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.
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
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.
-
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 [OPTION] [OPTION-VALUE]
e.g.list top
-
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
-
Sort :
sort [OPTION]
e.g.sort color
-
Swap :
swap [INDEX_X] [INDEX_Y]
e.g.swap 2 5
-
Stats :
stats
-
Undo :
undo
-
Wash :
wash INDEX
e.g.wash 1
-
Wear :
wear INDEX
e.g.wear 1