{"id":24736179,"url":"https://github.com/nirmit27/todo-cli","last_synced_at":"2026-05-02T22:36:06.205Z","repository":{"id":274450513,"uuid":"922063598","full_name":"nirmit27/todo-cli","owner":"nirmit27","description":"This is a lightweight CLI ToDo application created using Go.","archived":false,"fork":false,"pushed_at":"2025-01-27T11:29:59.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T12:32:40.978Z","etag":null,"topics":["go","go-cli","go-development","golang","todo","todo-cli","todo-list"],"latest_commit_sha":null,"homepage":"https://roadmap.sh/projects/task-tracker/solutions?u=64d6ca80aa497d7fa528b16a","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nirmit27.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-25T08:04:46.000Z","updated_at":"2025-01-27T11:31:06.000Z","dependencies_parsed_at":"2025-01-27T12:43:10.610Z","dependency_job_id":null,"html_url":"https://github.com/nirmit27/todo-cli","commit_stats":null,"previous_names":["nirmit27/todo-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirmit27%2Ftodo-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirmit27%2Ftodo-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirmit27%2Ftodo-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirmit27%2Ftodo-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nirmit27","download_url":"https://codeload.github.com/nirmit27/todo-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244991177,"owners_count":20543627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","go-cli","go-development","golang","todo","todo-cli","todo-list"],"created_at":"2025-01-27T21:18:10.607Z","updated_at":"2025-11-01T07:03:55.352Z","avatar_url":"https://github.com/nirmit27.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Todo CLI 📝\n\n![Gophers](./public/gophers.png)\n\nThis is a lightweight, terminal-based task management application built with **[Go](https://go.dev/#)**. It allows you to **add**, **update**, **delete**, and **list** tasks using simple commands. The tasks are written into and read from a **JSON** file for persistence.\n\n\u003e #### This is a sample solution for the [task-tracker](https://roadmap.sh/projects/task-tracker) project from **[roadmap.sh](https://roadmap.sh/)** projects.\n\n\n## Features\n- Add tasks with descriptions. 📝\n- Update tasks by their ID. ✍️\n- Delete tasks by their ID. 🗑️\n- Mark tasks as in-progress or done. ☑️\n- List tasks, optionally filtered by **status** (todo, in-progress, done). 📃\n- Tasks are stored in a `tasks.json` file in the current directory. 📁\n\n\n## Installation\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/nirmit27/todo-cli.git\ncd todo-cli\n```\n\n### 2. Build the Executable\nRun the following command to build the executable:\n```bash\ngo build -o todo-cli\n```\nThis will create an executable file named `todo-cli` in the current directory.\n\n\n## Usage\nThe task-cli application supports the following commands:\n\n### 1. Add a Task\nAdd a new task with a **description**.\n\n```bash\n./todo-cli add \"\u003cdescription\u003e\"\n```\n\n#### Output:\n```bash\nTask added successfully! ID : n\n```\n\n### 2. Update a Task\nUpdate the **description** of an existing task by its **ID**.\n\n```bash\n./todo-cli update \u003cid\u003e \"\u003cnew description\u003e\"\n```\n\n#### Output:\n```bash\nTask [n] updated successfully!\n```\n\n### 3. Delete a Task\nDelete a task by its **ID**.\n\n```bash\n./todo-cli delete \u003cid\u003e\n```\n#### Output:\n```bash\nTask [n] deleted successfully!\n```\n\n### 4. Mark a Task as _todo_, _in-progress_ or _done_\nUpdate the status of a task by its **ID**.\n\n```bash\n./todo-cli mark \u003cid\u003e \u003cnew-status\u003e\n```\n\n### 5. View Task details\nGet the detailed view of a task by its **ID**.\n\n```bash\n./todo-cli details \u003cid\u003e\n```\n\n#### Output:\n```bash\n --- Task [\u003cid\u003e] ---\n\n Description : \u003cdescription\u003e\n Status : \u003cstatus\u003e\n Created at : \u003ctime-of-creation\u003e\n Updated at : \u003ctime-of-updation\u003e\n```\n\n### 6. List All Tasks\nList **all** the tasks stored in the JSON file.\n\n```bash\n./todo-cli list\n```\n\n### 7. List Tasks by Status\nList tasks filtered by their status (`todo`, `in-progress`, or `done`).\n\n```bash\n./todo-cli list \u003cstatus\u003e\n```\n\n\n## Dependencies\nThis application is built using only Go's **standard library**. No external libraries are required.\n\n\n## License\nThis project is licensed under the **MIT License**. See the [LICENSE](./LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnirmit27%2Ftodo-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnirmit27%2Ftodo-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnirmit27%2Ftodo-cli/lists"}