{"id":23532499,"url":"https://github.com/fhasnur/task-tracker","last_synced_at":"2025-05-14T16:19:17.886Z","repository":{"id":256217488,"uuid":"854628995","full_name":"fhasnur/task-tracker","owner":"fhasnur","description":"📄 Task Tracker, simple command-line interface (CLI) tool to track and manage tasks. ","archived":false,"fork":false,"pushed_at":"2024-10-07T14:03:06.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T16:18:53.156Z","etag":null,"topics":["cli","cobra","go","golang","task-tracker"],"latest_commit_sha":null,"homepage":"","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/fhasnur.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,"zenodo":null}},"created_at":"2024-09-09T14:05:49.000Z","updated_at":"2024-10-07T14:03:09.000Z","dependencies_parsed_at":"2025-05-14T16:18:55.320Z","dependency_job_id":null,"html_url":"https://github.com/fhasnur/task-tracker","commit_stats":null,"previous_names":["fhasnur/task-tracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhasnur%2Ftask-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhasnur%2Ftask-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhasnur%2Ftask-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhasnur%2Ftask-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fhasnur","download_url":"https://codeload.github.com/fhasnur/task-tracker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254179900,"owners_count":22027884,"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":["cli","cobra","go","golang","task-tracker"],"created_at":"2024-12-25T23:11:24.825Z","updated_at":"2025-05-14T16:19:17.868Z","avatar_url":"https://github.com/fhasnur.png","language":"Go","readme":"# Task Tracker CLI\n\nA command-line interface (CLI) tool to track and manage tasks. The tool allows you to add, update, delete, mark tasks as in-progress or done, and list tasks based on their status. The sample solution for the [task-tracker](https://roadmap.sh/projects/task-tracker) challenge from [roadmap.sh](https://roadmap.sh/).\n\n## Installation\n\nTo use the Task Tracker CLI, you need to have Go installed on your machine.\n\n**Clone the Repository:**\n```bash\ngit clone https://github.com/fhasnur/task-tracker.git\n```\n\n**Navigate to the project directory:**\n```bash\ncd task-tracker\n```\n\n**Build the CLI:**\n```bash\ngo build -o task-cli\n```\n\n## Usage\n\nOnce built, you can run the CLI tool from your terminal. Below are the basic commands:\n\n### Adding New Task\nTo add a new task, run:\n```bash\n./task-cli add [description]\n```\nExample:\n```bash\n./task-cli add \"Buy groceries\"\n#Output: Task added successfully (ID: 1)\n```\n\n### Updating a Task\nTo update an existing task, use:\n```bash\n./task-cli update [id] [new description]\n```\nExample:\n```bash\n./task-cli update 1 \"Buy groceries and cook dinner\"\n#Output: Task updated successfully\n```\n\n### Deleting a Task\nTo delete a task, run:\n```bash\n./task-cli delete [id]\n```\nExample:\n```bash\n./task-cli delete 1\n#Output: Task deleted successfully\n```\n\n### Marking a Task as In-Progress\nTo mark a task as in-progress, use:\n```bash\n./task-cli mark-in-progress [id]\n```\nExample:\n```bash\n./task-cli mark-in-progress 1\n#Output: Task marked as in-progress successfully\n```\n\n### Marking a Task as Done\nTo mark a task as done, run:\n```bash\n./task-cli mark-done [id]\n```\nExample:\n```bash\n./task-cli mark-done 1\n#Output: Task marked as done successfully\n```\n\n### Listing All Tasks\nTo list all tasks, use:\n```bash\n./task-cli list\n```\nExample Output:\n```bash\nID  | Description                    | Status       | Created At       | Updated At\n------------------------------------------------------------------------------------------\n1   | Buy groceries                  | in-progress  | 2024-09-10 22:01 | 2024-09-12 16:45\n3   | Read a book                    | done         | 2024-09-11 23:06 | 2024-09-11 23:25\n4   | Drink a juice                  | todo         | 2024-09-11 23:06 | 2024-09-11 23:06\n5   | Learn coding                   | done         | 2024-09-12 16:56 | 2024-09-14 22:43\n6   | Play snake game                | in-progress  | 2024-09-14 22:39 | 2024-09-14 22:42\n```\n\n### Listing Tasks by Status\nTo filter tasks by status (e.g., todo, in-progress or done), run:\n\n**Todo**\n```bash\n./task-cli list todo\n```\nExample Output:\n```bash\nID  | Description                    | Status       | Created At       | Updated At\n------------------------------------------------------------------------------------------\n4   | Drink a juice                  | todo         | 2024-09-11 23:06 | 2024-09-11 23:06\n```\n\n**In Progress**\n```bash\n./task-cli list in-progress\n```\nExample Output:\n```bash\nID  | Description                    | Status       | Created At       | Updated At\n------------------------------------------------------------------------------------------\n1   | Buy groceries                  | in-progress  | 2024-09-10 22:01 | 2024-09-12 16:45\n6   | Play snake game                | in-progress  | 2024-09-14 22:39 | 2024-09-14 22:42\n```\n\n**Done**\n```bash\n./task-cli list done\n```\nExample Output:\n```bash\nID  | Description                    | Status       | Created At       | Updated At\n------------------------------------------------------------------------------------------\n3   | Read a book                    | done         | 2024-09-11 23:06 | 2024-09-11 23:25\n5   | Learn coding                   | done         | 2024-09-12 16:56 | 2024-09-14 22:43\n```\n\n## Contributing\n\nFeel free to submit pull requests or open issues for new features, improvements, or bug fixes.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhasnur%2Ftask-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffhasnur%2Ftask-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhasnur%2Ftask-tracker/lists"}