https://github.com/ursaru-tudor/task-cli
CLI to-do list written in Go
https://github.com/ursaru-tudor/task-cli
cli cli-app go golang json roadmap-sh
Last synced: about 2 months ago
JSON representation
CLI to-do list written in Go
- Host: GitHub
- URL: https://github.com/ursaru-tudor/task-cli
- Owner: ursaru-tudor
- Created: 2025-04-03T14:57:28.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-04-08T12:22:14.000Z (about 2 months ago)
- Last Synced: 2025-04-10T00:07:47.737Z (about 2 months ago)
- Topics: cli, cli-app, go, golang, json, roadmap-sh
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Task Tracker CLI
task-cli is a CLI application for tracking tasks and managing a to-do list written in Go. It stores all data in a local JSON file.
Designed for: https://roadmap.sh/projects/task-tracker
## Installation
### Compilation
To build task-cli you must first ensure you have git and go installed. Then run
```
git clone https://github.com/ursaru-tudor/task-cli.gitcd task-cli
go build
```## Usage
### Add a task
```
task-cli add "Task name"
```**You can add mutliple tasks with a single call to task-cli by listing mutiple task names**
```
task-cli add "Task 1" "Task 2" ...
```### Update a task's name
```
task-cli update "New task name"
```### Delete a task
```
task-cli delete
```**You can delete mutliple tasks with a single call to task-cli by listing multiple task-ids**
```
task-cli delete
```### Marking a task "in-progress" or "done"
```
task-cli mark-in-progress
``````
task-cli mark-done
```**You can mark mutliple tasks with a single call to task-cli by listing multiple task-ids, similar to delete**
### Listing tasks
```
task-cli list
```Will list all tasks.
You can provide one or multiple of 'todo', 'in-progress', or 'done' to only see tasks with at stages. For example:
```
task-cli list todo in-progress
```Will show all tasks that are not 'done'.
### See information on a single task
This will show information about one or more tasks by providing their task-ids
```
task-cli info
```Help can be accessed at any time by running
```
task-cli help
```