{"id":23531149,"url":"https://github.com/jeff-pedro/task-tracker-cli","last_synced_at":"2025-07-29T00:33:49.618Z","repository":{"id":269577428,"uuid":"907172661","full_name":"jeff-pedro/task-tracker-cli","owner":"jeff-pedro","description":"CLI app to track tasks and manage to-do list.","archived":false,"fork":false,"pushed_at":"2024-12-27T15:12:50.000Z","size":2351,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T14:34:15.276Z","etag":null,"topics":["cli","node-cli","roadmap-sh","task-tracker"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeff-pedro.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-12-23T02:01:47.000Z","updated_at":"2024-12-27T15:12:54.000Z","dependencies_parsed_at":"2024-12-24T15:34:26.874Z","dependency_job_id":"8f31078f-8859-4400-bc40-0053d28cfbbc","html_url":"https://github.com/jeff-pedro/task-tracker-cli","commit_stats":null,"previous_names":["jeff-pedro/task-tracker-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeff-pedro/task-tracker-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-pedro%2Ftask-tracker-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-pedro%2Ftask-tracker-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-pedro%2Ftask-tracker-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-pedro%2Ftask-tracker-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeff-pedro","download_url":"https://codeload.github.com/jeff-pedro/task-tracker-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-pedro%2Ftask-tracker-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267610416,"owners_count":24115435,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","node-cli","roadmap-sh","task-tracker"],"created_at":"2024-12-25T22:13:46.705Z","updated_at":"2025-07-29T00:33:49.610Z","avatar_url":"https://github.com/jeff-pedro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Task Tracker CLI\n\n\u003e Solution for the [task-tracker-cli](https://github.com/jeff-pedro/task-tracker-cli) challenge from [roadmap.sh](https://roadmap.sh/projects/task-tracker).\n\n\u003c/div\u003e\n\n\n###### English - [Portuguese](./doc/readme_pt-br.md)\n\n\n## Description\n\n**Task Tracker** CLI is a command-line interface (CLI) application designed to efficiently manage your tasks. With this tracker, you can add, update, delete, and mark tasks as completed or in progress.\n\n## Features\n\n* **Add** tasks: Add new tasks with a concise description.\n* **Update** tasks: Edit existing tasks to reflect changes.\n* **Delete** tasks: Remove tasks that are no longer needed.\n* **Mark** tasks: Indicate whether a task is in progress, completed, or to-do.\n* **List** tasks: View all tasks, or filter by status (all, completed, in progress, to-do).\n\n## Prerequisites\n\n* Node.js v18 or higher, npm (or yarn) installed.\n\n## Installation\n\nClone the repository and run the following command:\n\n```bash\ngit clone https://github.com/jeff-pedro/task-tracker-cli.git\ncd task-tracker-cli\n```\n\nGlobal Installation via npm (optional)\n\n```bash\nnpm install -g .\n# and run ...\ntask-cli\n```\n\n## Usage\n\nAdd new tasks:\n\n```bash\nnpm start task-cli add \"Buy groceries\"\n```\n\nUpdate tasks:\n\n```bash\ntask-cli update 1 \"Wash clothes\"\n```\n\nDelete tasks:\n\n```bash\ntask-cli delete 1\n```\n\nMark tasks as in-progress, done and, todo:\n\n```bash\ntask-cli mark-in-progress 1\ntask-cli mark-done 1\ntask-cli mark-todo 1\n```\n\nList all tasks:\n\n```bash\ntask-cli list\n```\n\nList task by status:\n\n```bash\ntask-cli list done\ntask-cli list todo\ntask-cli list in-progress\n```\n\n## JSON File Structure\n\nTasks are stored in a JSON file with the following structure:\n\n```json\n[\n  {\n    \"id\": 1,\n    \"description\": \"Buy groceries\",\n    \"status\": \"done\",\n    \"createdAt\": \"2023-11-22T10:35:20Z\",\n    \"updatedAt\": \"2023-11-22T10:45:20Z\"\n  },\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeff-pedro%2Ftask-tracker-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeff-pedro%2Ftask-tracker-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeff-pedro%2Ftask-tracker-cli/lists"}