forked from nus-cs2113-AY2021S1/contacts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEXPECTED.txt
93 lines (93 loc) · 3.75 KB
/
EXPECTED.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|| ===================================================
|| ===================================================
|| Contacts - Version 0.0
|| Welcome to Contacts!
|| ===================================================
|| Enter command: || [Command entered:help]
|| add: Adds a person to contacts.
|| Parameters: NAME p/PHONE_NUMBER e/EMAIL
|| Example: add John Doe p/98765432 e/[email protected]
||
|| list: Displays all persons as a list with index numbers.
|| Example: list
||
|| clear: Clears all contacts.
|| Example: clear
||
|| exit: Exits the program.
|| Example: exit
||
|| help: Shows program usage instructions.
|| Example: help
|| ===================================================
|| Enter command: || [Command entered:list]
||
|| 0 persons found!
|| ===================================================
|| Enter command: || [Command entered:add Alice Bee p/12345678 e/[email protected]]
|| New person added: Alice Bee, Phone: 12345678, Email: [email protected]
|| ===================================================
|| Enter command: || [Command entered:list]
|| 1. Alice Bee Phone Number: 12345678 Email: [email protected]
||
|| 1 persons found!
|| ===================================================
|| Enter command: || [Command entered:add Ben Chee p/22223333 e/[email protected]]
|| New person added: Ben Chee, Phone: 22223333, Email: [email protected]
|| ===================================================
|| Enter command: || [Command entered:list]
|| 1. Alice Bee Phone Number: 12345678 Email: [email protected]
|| 2. Ben Chee Phone Number: 22223333 Email: [email protected]
||
|| 2 persons found!
|| ===================================================
|| Enter command: || [Command entered:clear]
|| Contacts have been cleared!
|| ===================================================
|| Enter command: || [Command entered:list]
||
|| 0 persons found!
|| ===================================================
|| Enter command: || [Command entered:add Chris p/33334444 e/[email protected]]
|| New person added: Chris, Phone: 33334444, Email: [email protected]
|| ===================================================
|| Enter command: || [Command entered:list]
|| 1. Chris Phone Number: 33334444 Email: [email protected]
||
|| 1 persons found!
|| ===================================================
|| Enter command: || [Command entered:add]
|| Invalid command format: add
|| add: Adds a person to contacts.
|| Parameters: NAME p/PHONE_NUMBER e/EMAIL
|| Example: add John Doe p/98765432 e/[email protected]
||
|| ===================================================
|| Enter command: || [Command entered:add Daryl]
|| Invalid command format: add
|| add: Adds a person to contacts.
|| Parameters: NAME p/PHONE_NUMBER e/EMAIL
|| Example: add John Doe p/98765432 e/[email protected]
||
|| ===================================================
|| Enter command: || [Command entered:add Daryl p/ e/]
|| Invalid command format: add
|| add: Adds a person to contacts.
|| Parameters: NAME p/PHONE_NUMBER e/EMAIL
|| Example: add John Doe p/98765432 e/[email protected]
||
|| ===================================================
|| Enter command: || [Command entered:add Daryl p/44445555 e/invalid]
|| Invalid command format: add
|| add: Adds a person to contacts.
|| Parameters: NAME p/PHONE_NUMBER e/EMAIL
|| Example: add John Doe p/98765432 e/[email protected]
||
|| ===================================================
|| Enter command: || [Command entered:add Daryl p/invalid e/[email protected]]
|| New person added: Daryl, Phone: invalid, Email: [email protected]
|| ===================================================
|| Enter command: || [Command entered:exit]
|| Exiting Contacts... Good bye!
|| ===================================================
|| ===================================================