{"id":38437915,"url":"https://github.com/techgirldiaries/task-tracker-cli","last_synced_at":"2026-01-17T04:32:01.104Z","repository":{"id":303310398,"uuid":"1005233888","full_name":"techgirldiaries/task-tracker-cli","owner":"techgirldiaries","description":"A simple command-line application for tracking and managing your tasks. It allows you to add, update, delete and list tasks with statuses such as \"todo\", \"in-progress\" and \"done\". ","archived":false,"fork":false,"pushed_at":"2025-06-19T23:21:52.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-11T05:08:20.927Z","etag":null,"topics":["cli-app","computer-science","python-programming","python-projects","task-management","task-tracker-app"],"latest_commit_sha":null,"homepage":"","language":"Python","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/techgirldiaries.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":"2025-06-19T22:41:50.000Z","updated_at":"2025-06-19T23:25:32.000Z","dependencies_parsed_at":"2025-07-07T00:17:13.892Z","dependency_job_id":"1c56c7a2-d093-47b9-b3d9-593fe58d3013","html_url":"https://github.com/techgirldiaries/task-tracker-cli","commit_stats":null,"previous_names":["techgirldiaries/task-tracker-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techgirldiaries/task-tracker-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgirldiaries%2Ftask-tracker-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgirldiaries%2Ftask-tracker-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgirldiaries%2Ftask-tracker-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgirldiaries%2Ftask-tracker-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techgirldiaries","download_url":"https://codeload.github.com/techgirldiaries/task-tracker-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgirldiaries%2Ftask-tracker-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28495145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-app","computer-science","python-programming","python-projects","task-management","task-tracker-app"],"created_at":"2026-01-17T04:31:59.306Z","updated_at":"2026-01-17T04:32:01.078Z","avatar_url":"https://github.com/techgirldiaries.png","language":"Python","readme":"# Task Tracker CLI\n\nTask Tracker CLI is a simple command-line application for tracking and managing your tasks. It allows you to add, update, delete and list tasks with statuses such as \"todo\", \"in-progress\" and \"done\". Tasks are stored in a JSON file named `tasks.json` in the current directory. This is a solution for the [Task Tracker](https://github.com/techgirldiaries/task-tracker-cli) challenge from [Roadmap.sh](https://roadmap.sh/projects/task-tracker).\n\n## How to Use\n\nIf you wish to clone the repository, run:\n\n```bash\ngit clone https://github.com/techgirldiaries/task-tracker-cli.git\ncd task-tracker-cli\n```\nEnsure you have Python 3 installed (tested with Python 3.6+)\n\nAlternatively, you can save the code directly to a file named `task-cli.py`.\n\n1. **Save the code** to a file named `task-cli.py`.\n\n2. **For Unix-like systems (Linux, macOS)**:\n   - Make the script executable:\n\n     ```bash\n     chmod +x task-cli.py\n     ```\n\n   - Run the script directly:\n\n     ```bash\n     ./task-cli.py [command] [arguments]\n     ```\n\n   - Or run it with Python:\n\n     ```bash\n     python task-cli.py [command] [arguments]\n     ```\n\n3. **For Windows**:\n   - Run the script using Python:\n\n     ```bash\n     python task-cli.py [command] [arguments]\n     ```\n\n   - Or, if `.py` files are associated with Python:\n\n     ```bash\n     task-cli.py [command] [arguments]\n     ```\n\n## Available Commands\n\n- **Add a new task** (with optional priority, due date, and notes):\n\n  ```bash\n  python task-cli.py add \"Buy groceries\"\n  python task-cli.py add \"Finish project report\"\n  ```\n\n- **Update a task** (update description, priority, due date, or notes):\n\n  ```bash\n  python task-cli.py update 1 \"Buy groceries and vegetables\"\n  ```\n\n- **Delete a task**:\n\n  ```bash\n  python task-cli.py delete 1\n  ```\n\n- **Mark a task as in progress or done**:\n\n  ```bash\n  python task-cli.py mark-in-progress 2\n  python task-cli.py mark-done 1\n  ```\n\n- **List all tasks**:\n\n  ```bash\n  python task-cli.py list\n  ```\n\n  - **List all tasks by status**:\n\n  ```bash\n  python task-cli.py list todo \n  python task-cli.py list in-progress \n  python task-cli.py list done\n  ```\n\n## Features\n\n- **File Storage**: Uses a JSON file (`tasks.json`) to store tasks.\n- **Task Management**:\n  - Add new tasks with descriptions.\n  - Update task descriptions.\n  - Delete tasks.\n  - Mark tasks as \"todo\", \"in-progress\" or \"done\".\n- **Task Listing**:\n  - List all tasks with full details.\n  - Filter tasks by status (\"todo\", \"in-progress\", \"done\").\n- **Task Properties**:\n  - Unique ID.\n  - Description.\n  - Status (\"todo\", \"in-progress\", \"done\").\n  - Creation timestamp.\n  - Last update timestamp.\n- **Error Handling**:\n  - Invalid commands.\n  - Missing or invalid arguments.\n  - Invalid task IDs.\n  - File operation errors.\n\n## Implementation Notes\n\n- Uses Python's built-in `json` module for file operations.\n- No external dependencies required.\n- Simple command-line interface with positional arguments.\n- Comprehensive error handling for commands, arguments and file operations.\n- Maintains all required task properties.\n- Automatically creates the `tasks.json` file if it doesn't exist.\n\n  ## Updates (Coming Soon...)\nAdditional features such as setting task priorities, due dates and notes, as well as sorting and clearing tasks. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgirldiaries%2Ftask-tracker-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechgirldiaries%2Ftask-tracker-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgirldiaries%2Ftask-tracker-cli/lists"}