task is a command-line tool written in Go for efficient management of your TODOs.
To install the task
command-line tool, ensure you have Go installed on your system. If not, you can download and install it from the official Go website.
Once you have Go installed, open a terminal or command prompt and run the following command:
go install github.com/oussamaM1/task/
This command will download the repository, build the task
executable, and place it in your Go binary directory. Make sure your Go binary directory is in your system's PATH so that you can execute task
from any directory.
task [command]
add
: Add a new task to your TODO listcompletion
: Generate the autocompletion script for the specified shelldo
: Mark a task as complete, in-progress, or openhelp
: Get help about any commandlist
: List all of your incomplete tasks
-h, --help
: Show help for thetask
command
Use task [command] --help
for more detailed information about a specific command.
Here's an example of how to use task
:
# Add a new task
task add "Write README.md"
โ
The task has been successfully added.
# List all tasks
task list
โญโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ID โ DESCRIPTION โ STATE โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโค
โ 1 โ Write README.md โ ๐ Open |
โ โ โ |
โฐโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโฏ
# Mark a task in-progress
# format: task do <ID> <Open, In-progress, Completed>
task do 1 "In-progress"
โ
The task has been successfully updated.
# List all tasks
task list
โญโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ID โ DESCRIPTION โ STATE โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโค
โ 1 โ Write README.md โ ๐ In-progress โ
โ โ โ โ
โฐโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโฏ
# Mark a task completed
# format: task do <ID> <Open, In-progress, Completed>
task do 1 "Completed"
โ
The task has been successfully updated.
# List all tasks
task list
โญโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ID โ DESCRIPTION โ STATE โ
โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโค
โ 1 โ Write README.md โ โ
Completed โ
โ โ โ โ
โฐโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโฏ