Skip to content

PavelNikoltsev/tasker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tasker

Tasker is a command-line tool written in Go for managing your todo tasks. With Tasker, you can add, update, delete, and list tasks, as well as manage their statuses (e.g., done, todo, in progress).

Project idea from https://roadmap.sh/projects/task-tracker

Features

  • Add new tasks
  • Update existing tasks
  • Delete tasks
  • Clear all tasks
  • List tasks (with optional filtering by status)
  • Mark tasks as "done", "todo", or "in progress"
  • Show task details

Installation

  1. Clone the repository:

    git clone https://github.com/PavelNikoltsev/tasker.git
  2. Navigate to the project directory:

    cd tasker
  3. Build the project:

    make build

    This will generate the tasker executable in the project directory.

Usage

After building the project, you can use the tasker command as follows:

./tasker <command> [arguments]

Available Commands

Command Description
add <task description> Add a new task
update <task ID> <task description> Update an existing task
delete <task ID> Delete a task
clear Clear all tasks
list [status] List tasks, optionally filtered by status
show <task ID> Show details of a task
mark-done <task ID> Mark a task as "done"
mark-todo <task ID> Mark a task as "todo"
mark-in-progress <task ID> Mark a task as "in progress"
help Show help message

Task Statuses

You can filter tasks by their status using the list command:

  • done
  • todo
  • in-progress

Example:

./tasker list todo

Example Commands

  • Add a task:

    ./tasker add "Complete the report"
  • Update a task:

    ./tasker update 1 "Submit the report"
  • Mark a task as done:

    ./tasker mark-done 1
  • Delete a task:

    ./tasker delete 2

About

Task Tracker CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published