-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update AddCommand.java params #28
Update AddCommand.java params #28
Conversation
…into addCommandParams
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #28 +/- ##
============================================
- Coverage 75.33% 72.50% -2.83%
- Complexity 419 438 +19
============================================
Files 71 75 +4
Lines 1342 1495 +153
Branches 126 148 +22
============================================
+ Hits 1011 1084 +73
- Misses 301 360 +59
- Partials 30 51 +21 ☔ View full report in Codecov by Sentry. |
+ PREFIX_ADDRESS + "ADDRESS " | ||
+ PREFIX_IC + "IC " | ||
+ PREFIX_DOB + "DOB " | ||
+ PREFIX_ADMISSION_DATE + "EMAIL " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be "ADMISSION DATE "?
@@ -23,20 +24,21 @@ public class AddCommand extends Command { | |||
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Adds a person to the address book. " | |||
+ "Parameters: " | |||
+ PREFIX_NAME + "NAME " | |||
+ PREFIX_PHONE + "PHONE " | |||
+ PREFIX_EMAIL + "EMAIL " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we include the optional fields in MESSAGE_USAGE as well? like phone, email, address
Since we include tags as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
No description provided.