{"id":37057875,"url":"https://github.com/nabil-k72j/tsk","last_synced_at":"2026-01-14T06:32:35.964Z","repository":{"id":328233746,"uuid":"1113741949","full_name":"nabil-k72j/tsk","owner":"nabil-k72j","description":"tsk is a lightweight command-line task manager written in Go.","archived":false,"fork":false,"pushed_at":"2025-12-12T15:03:13.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"Main","last_synced_at":"2025-12-13T00:54:26.226Z","etag":null,"topics":["cli","go","golang","productivity","task-manager"],"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/nabil-k72j.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-10T11:58:39.000Z","updated_at":"2025-12-12T15:16:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nabil-k72j/tsk","commit_stats":null,"previous_names":["nabil-k72j/tsk"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nabil-k72j/tsk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabil-k72j%2Ftsk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabil-k72j%2Ftsk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabil-k72j%2Ftsk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabil-k72j%2Ftsk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nabil-k72j","download_url":"https://codeload.github.com/nabil-k72j/tsk/tar.gz/refs/heads/Main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabil-k72j%2Ftsk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28412211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","go","golang","productivity","task-manager"],"created_at":"2026-01-14T06:32:35.208Z","updated_at":"2026-01-14T06:32:35.955Z","avatar_url":"https://github.com/nabil-k72j.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `tsk` — A Simple CLI Task Manager\n\n`tsk` is a lightweight command-line task manager written in Go.\nTasks are stored in a CSV file (`tasks.csv`) in the same directory.\nYou can add tasks, list them, delete them, and toggle them as done/undone.\n\n---\n\n## ⭐ Features\n\n* Add tasks with a simple command:\n  `tsk \"Buy groceries\"`\n* List all tasks or limit the number shown\n* Update the value of a task by ID\n* Delete tasks by ID\n* Toggle completion status\n* Persistent CSV storage\n\n---\n\n## 📦 Installation\n\n```sh\ngo build -o tsk .\n```\n\nMove it somewhere in your `$PATH` if you want global access:\n\n```sh\nsudo mv tsk /usr/local/bin/\n```\n\n---\n\n## 📄 Usage\n\n### ➕ Add a task\n\nAdds a new task with the next available ID.\n\n```sh\ntsk \"Finish homework\"\n```\n\n---\n\n### 📋 List tasks\n\nList all:\n\n```sh\ntsk --list\n```\n\nList the latest N tasks:\n\n```sh\ntsk --list 10\n```\n\n---\n\n### 📝 Update a task\n\n```sh\ntsk --update 3 \"new value\"\n```\n\nUpdates the value of task with ID 3\n\n---\n\n### ❌ Delete a task\n\n```sh\ntsk --delete 3\n```\n\nDeletes the task with ID 3.\n\n---\n\n### ✔ Toggle completion (check/uncheck)\n\n```sh\ntsk --check 5\n```\n\nIf task 5 is done → it becomes undone\nIf task 5 is undone → it becomes done\n\n---\n\n## 📁 Data Storage\n\nTasks are stored in:\n\n```\ntasks.csv\n```\n\nFormat:\n\n```\nid,value,done\n1,Buy groceries,false\n2,Walk the dog,true\n```\n\nYour code automatically:\n\n* Creates the file if missing\n* Writes a header\n* Loads tasks into memory\n* Rewrites the file on updates/deletes\n\n---\n\n## 🛠 Flags Summary\n\n| Flag       | Description                    | Example          |\n| ---------- | ------------------------------ | ---------------- |\n| `--list`   | List all tasks or last N tasks | `tsk --list 5`   |\n| `--update` | Update the value of task by ID | `tsk --update 5` |\n| `--delete` | Delete task by ID              | `tsk --delete 3` |\n| `--check`  | Toggle done/undone for task ID | `tsk --check 10` |\n\nIf no flags are provided, the positional argument is treated as a new task.\n\n---\n\n## 🧱 Code Structure (optional section)\n\n```\n.\n├── main.go\n├── tasks.go (load/save/add/delete/check)\n└── tasks.csv (generated automatically)\n```\n\n---\n\n## 📝 Example Session\n\n```\n$ tsk \"Write README\"\nAdded task #1\n\n$ tsk \"Push code to GitHub\"\nAdded task #2\n\n$ tsk --list\n1  Write README        Unfinished\n2  Push code to GitHub Unfinished\n\n$ tsk --check 1\nTask #1 marked\n\n$ tsk --list\n1  Write README        Finished\n2  Push code to GitHub Unfinished\n\n$ tsk --update 1 \"Write README.md\"\nUpdated task #1\n\n$ tsk --Delete 2\nDeleted task #2\n```\n\n---\n\n## 📜 License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnabil-k72j%2Ftsk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnabil-k72j%2Ftsk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnabil-k72j%2Ftsk/lists"}