Skip to content

feat: add todo function #1147

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

feat: add todo function #1147

wants to merge 2 commits into from

Conversation

jjlai5
Copy link

@jjlai5 jjlai5 commented May 28, 2025

Goals

  • Enable users to create and manage todo items via CLI.
  • Provide persistent local storage of todos.
  • Support basic task management operations: add, list, mark as done, delete.

User Stories

  • As a developer, I want to quickly add a note to myself without leaving the terminal.
  • As a contributor, I want to list unfinished tasks before submitting a patch.

CLI Commands

codex todo add "Fix bug when input is null"
codex todo list

Sample JSON structure (.codex/todo.json)

[
  {
    "id": 1,
    "task": "Fix bug when input is null",
    "done": false,
    "created_at": "2025-05-26T22:00:00Z"
  },
  {
    "id": 2,
    "task": "Refactor utils module",
    "done": true,
    "created_at": "2025-05-26T22:05:00Z"
  }
]

File Structure

.codex/
  └── todo.json

Copy link


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@jjlai5
Copy link
Author

jjlai5 commented May 28, 2025

I have read the CLA Document and I hereby sign the CLA

@jjlai5
Copy link
Author

jjlai5 commented May 28, 2025

recheck

@jjlai5
Copy link
Author

jjlai5 commented May 28, 2025

I have read the CLA Document and I hereby sign the CLA

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.

2 participants