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. Editing an apparel :
edit
- 3.6. Making available/washing a piece of apparel :
available
orwash
- 3.7. Making unavailable/dirty a piece of apparel :
unavailable
orwear
- 3.8. Locating apparels by name:
find
- 3.9. Deleting an apparel :
delete
- 3.10. Selecting a apparel :
select
- 3.11. Listing entered commands :
history
- 3.12. Undoing previous command :
undo
- 3.13. Redoing the previously undone command :
redo
- 3.14. Clearing all entries :
clear
- 3.15. Recommend Outfit
- 3.16. Something Color Select
- 3.17. Random Item Type Select
- 3.18. Calculating use Statistics :
stats
- 3.19. Exiting the program :
exit
- 3.20. 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
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 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.
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.
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 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"]
+
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
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
-
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