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

[Ishan Agarwal] iP #765

Open
wants to merge 83 commits into
base: master
Choose a base branch
from

Conversation

ishan-agarwal-05
Copy link

@ishan-agarwal-05 ishan-agarwal-05 commented Sep 12, 2024

Add New Features to JohnCena List Application 🎉

This pull request introduces several enhancements to the Todo List application, including new commands and functionalities.

Summary of Changes

  • Added new commands:
    • todo
    • deadline
    • event
    • find
    • and others
  • Implemented automatic saving of tasks
  • Improved user interaction and error handling

New Features

  1. Todo Command

    • Allows users to add a todo task.
    • Usage: todo <description>
  2. Deadline Command

    • Adds a task with a deadline.
    • Usage: deadline <description> /by <date>
  3. Event Command

    • Schedules an event with a start and end date.
    • Usage: event <description> /from <start date> /to <end date>
  4. Find Command

    • Searches for tasks containing a keyword.
    • Usage: find <keyword>

Example Code

public class TodoCommand implements Command {
    private String description;

    public TodoCommand(String description) {
        this.description = description;
    }

    @Override
    public void execute() {
        // Implementation code
    }
}

damithc and others added 30 commits July 11, 2024 16:52
In build.gradle, the dependencies on distZip and/or distTar causes
the shadowJar task to generate a second JAR file for which the
mainClass.set("seedu.duke.Duke") does not take effect.
Hence, this additional JAR file cannot be run.
For this product, there is no need to generate a second JAR file
to begin with.

Let's remove this dependency from the build.gradle to prevent the
shadowJar task from generating the extra JAR file.
Add Save tasks and Load tasks
Add time and date parsing, along with on command. Add help command
* add-gradle-support:
  build.gradle: Prevent generating a second JAR file
  Bump gradle and lib version
  Add Gradle support
ishan-agarwal-05 and others added 30 commits September 22, 2024 08:31
* branch-A-Streams:
…5/ip into branch-A-CodeQuality

* 'branch-A-Streams' of https://github.com/ishan-agarwal-05/ip:
  Update Readme and add acknowledgment
  Update README.md
  fix link in readme
  Update README.md
  clean up code
  remove bug in deadline and event date format
* branch-A-CodeQuality:
  no message

# Conflicts:
#	src/main/java/johncena/parser/InputHandler.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants