{"id":16777665,"url":"https://github.com/aryamanz29/todo-cli-v2","last_synced_at":"2026-04-18T00:32:08.411Z","repository":{"id":132872424,"uuid":"436337178","full_name":"Aryamanz29/Todo-CLI-V2","owner":"Aryamanz29","description":"Todo-CLI-V2 : A Simple CLI written in python 🚀","archived":false,"fork":false,"pushed_at":"2023-03-21T07:01:24.000Z","size":306,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-31T03:51:32.582Z","etag":null,"topics":["cli","python","todo","todo-cli"],"latest_commit_sha":null,"homepage":"https://github.com/Aryamanz29/Todo-CLI-V2","language":"JavaScript","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/Aryamanz29.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":"2021-12-08T17:38:35.000Z","updated_at":"2021-12-18T16:57:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2bb2c38-32cd-4cb1-a8b8-611b33e3a7fe","html_url":"https://github.com/Aryamanz29/Todo-CLI-V2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aryamanz29/Todo-CLI-V2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aryamanz29%2FTodo-CLI-V2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aryamanz29%2FTodo-CLI-V2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aryamanz29%2FTodo-CLI-V2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aryamanz29%2FTodo-CLI-V2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aryamanz29","download_url":"https://codeload.github.com/Aryamanz29/Todo-CLI-V2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aryamanz29%2FTodo-CLI-V2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31951292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"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","python","todo","todo-cli"],"created_at":"2024-10-13T07:25:28.689Z","updated_at":"2026-04-18T00:32:08.382Z","avatar_url":"https://github.com/Aryamanz29.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e⚡TODO CLI (V2)⚡\u003c/h1\u003e\n\n[![Todo-CLI](https://res.cloudinary.com/sv-co/image/upload/v1638058186/GDC/SE/Admission/gdc-home-page_b6s3go.png)](https://vimeo.com/648902045)\n\n## Getting started 🛠\n\n\n1. Install Python: Python is usually installed by default on most modern systems. To check what your currently have, open a terminal and run the following command:\n\n   ```\n   python3 --version\n   ```\n\n   This should output some information on the installed Python version.\n   You can also install python by following these instructions: https://installpython3.com/\n\n2. You are expected to write the code in `task.py` file.\n\n3. Once you are done with the changes you should be able to execute the task app by running the following command from the terminal.\n\n   **On Windows:**\n\n   ```\n   .\\task.bat\n   ```\n\n   **On \\*nix:**\n\n   ```\n   ./task.sh\n   ```\n## Run Automated Tests 📥\n\n### 1. Install Node.js\n\nYou need to have npm installed in your computer for this problem. It comes with Node.js and you can get it by installing Node from https://nodejs.org/en/\n\n### 2. Install dependencies\n\nRun `npm install` to install all dependencies.\n\n### 3. Try running tests.\n\nNow run `npm test` and you will see all the tests failing. As you fill in each functionality, you can re-run the tests to see them passing one by one.\n\n\n## Usage 🚀\n\n### 1. Help\n\nExecuting the command without any arguments, or with a single argument help prints the CLI usage.\n\n```\n$ ./task help\nUsage :-\n$ ./task add 2 hello world    # Add a new item with priority 2 and text \"hello world\" to the list\n$ ./task ls                   # Show incomplete priority list items sorted by priority in ascending order\n$ ./task del INDEX            # Delete the incomplete item with the given index\n$ ./task done INDEX           # Mark the incomplete item with the given index as complete\n$ ./task help                 # Show usage\n$ ./task report               # Statistics\n```\n\n### 2. List all pending items\n\nUse the ls command to see all the items that are not yet complete, in ascending order of priority.\n\nEvery item should be printed on a new line. with the following format\n\n```\n[index] [task] [priority]\n```\n\nExample:\n\n```\n$ ./task ls\n1. change light bulb [2]\n2. water the plants [5]\n```\n\nindex starts from 1, this is used to identify a particular task to complete or delete it.\n\n### 3. Add a new item\n\nUse the add command. The text of the task should be enclosed within double quotes (otherwise only the first word is considered as the item text, and the remaining words are treated as different arguments).\n\n```\n$ ./task add 5 \"the thing i need to do\"\nAdded task: \"the thing i need to do\" with priority 5\n```\n\n### 4. Delete an item\n\nUse the del command to remove an item by its index.\n\n```\n$ ./task del 3\nDeleted item with index 3\n```\n\nAttempting to delete a non-existent item should display an error message.\n\n```\n$ ./task del 5\nError: item with index 5 does not exist. Nothing deleted.\n```\n\n### 5. Mark a task as completed\n\nUse the done command to mark an item as completed by its index.\n\n```\n$ ./task done 1\nMarked item as done.\n```\n\nAttempting to mark a non-existed item as completed will display an error message.\n\n```\n$ ./task done 5\nError: no incomplete item with index 5 exists.\n```\n\n### 6. Generate a report\n\nShow the number of complete and incomplete items in the list. and the complete and incomplete items grouped together.\n\n```\n$ ./task report\nPending : 2\n1. this is a pending task [1]\n2. this is a pending task with priority [4]\n\nCompleted : 3\n1. completed task\n2. another completed task\n3. yet another completed task\n```\n## Feel Free To Contribute ☀","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faryamanz29%2Ftodo-cli-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faryamanz29%2Ftodo-cli-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faryamanz29%2Ftodo-cli-v2/lists"}