Skip to content
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

Add Planned Enhancements for DG #115

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import static seedu.address.logic.parser.CliSyntax.PREFIX_DATE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_HEADLINE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_INTERVIEWEE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_LINK;
import static seedu.address.logic.parser.CliSyntax.PREFIX_OUTLET;
import static seedu.address.logic.parser.CliSyntax.PREFIX_STATUS;
import static seedu.address.logic.parser.CliSyntax.PREFIX_TAG;
Expand All @@ -31,11 +32,12 @@ public class AddArticleCommand extends ArticleCommand {
+ "Parameters: "
+ PREFIX_HEADLINE + "HEADLINE "
+ "[" + PREFIX_CONTRIBUTOR + "CONTRIBUTOR]... "
+ PREFIX_DATE + "DATE] "
+ "[" + PREFIX_INTERVIEWEE + "INTERVIEWEE]... "
+ "[" + PREFIX_TAG + "TAG]... "
+ "[" + PREFIX_OUTLET + "OUTLET]... "
+ PREFIX_STATUS + "STATUS\n"
+ PREFIX_DATE + "DATE "
+ PREFIX_STATUS + "STATUS"
+ "[" + PREFIX_LINK + "LINK]\n"
+ "Example: " + COMMAND_WORD + " " + COMMAND_PREFIX + " "
+ PREFIX_HEADLINE + "The Great Article "
+ PREFIX_CONTRIBUTOR + "John Doe "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import static seedu.address.logic.parser.CliSyntax.PREFIX_DATE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_HEADLINE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_INTERVIEWEE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_LINK;
import static seedu.address.logic.parser.CliSyntax.PREFIX_OUTLET;
import static seedu.address.logic.parser.CliSyntax.PREFIX_STATUS;
import static seedu.address.logic.parser.CliSyntax.PREFIX_TAG;
Expand Down Expand Up @@ -51,18 +52,14 @@ public class EditArticleCommand extends ArticleCommand {
+ "Parameters: INDEX (must be a positive integer) "
+ "[" + PREFIX_HEADLINE + "HEADLINE] "
+ "[" + PREFIX_CONTRIBUTOR + "CONTRIBUTOR]... "
+ "[" + PREFIX_DATE + "DATE] "
+ "[" + PREFIX_INTERVIEWEE + "INTERVIEWEE]... "
+ "[" + PREFIX_TAG + "TAG]... "
+ "[" + PREFIX_OUTLET + "OUTLET]... "
+ "[" + PREFIX_DATE + "DATE] "
+ "[" + PREFIX_STATUS + "STATUS]\n"
+ "[" + PREFIX_LINK + "LINK]\n"
+ "Example: " + COMMAND_WORD + " " + COMMAND_PREFIX + " 1 "
+ PREFIX_HEADLINE + "Headline "
+ PREFIX_CONTRIBUTOR + "Contributor(s) "
+ PREFIX_DATE + "2021-10-10 "
+ PREFIX_INTERVIEWEE + "Interviewee(s) "
+ PREFIX_TAG + "New Tag(s) "
+ PREFIX_OUTLET + "New Outlet(s) "
+ PREFIX_DATE + "10-10-2021 "
+ PREFIX_STATUS + "PUBLISHED";

public static final String MESSAGE_EDIT_ARTICLE_SUCCESS = "Edited Article: %1$s";
Expand Down
Loading