Skip to content

feelthatvib3/go-task-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Tracker

A simple CLI application for managing tasks.

Project URL

Task Tracker Project

Features

  • Add tasks
  • List tasks
  • Update tasks
  • Delete tasks
  • Change task status

Installation

To install and run the Task Tracker application, follow these steps:

Prerequisites

  • Go: Ensure you have Go installed on your machine. You can download and install Go from golang.org.

Clone the Repository

  1. Open your terminal or command prompt.

  2. Clone the repository using the following command:

    git clone [email protected]:feelthatvib3/go-task-tracker.git
  3. Navigate into the project directory:

    cd go-task-tracker

Build the Application

To build the application, run the following command:

go build -o tt

This will create an executable file named tt in the project directory.

Running the Application

You can run the application directly from the terminal after building:

./tt

Alternatively, if you're on Windows, you can run:

tt.exe

Usage

The Task Tracker CLI allows you to manage your tasks through various commands. Below are the available commands and their descriptions.

Add a Task

To add a new task, use the following command:

./tt add "Task description"

Example:

./tt add "Buy groceries"

List Tasks

To list all tasks or filter by status, use the following command:

./tt list [status]

Examples:

  • List all tasks:

    ./tt list
  • List tasks with the status "done":

    ./tt list done

Update a Task

To update the description of an existing task, use the following command:

./tt update <task-id> "<new-description>"

Example:

./tt update 1 "Buy groceries and cook dinner"

Delete a Task

To delete a task, use the following command:

./tt delete <task-id>

Example:

./tt delete 1

Change Task Status

To change the status of a task, you can use the following commands:

  • Mark a task as "todo":

    ./tt mark-todo <task-id>
  • Mark a task as "in-progress":

    ./tt mark-in-progress <task-id>
  • Mark a task as "done":

    ./tt mark-done <task-id>

Example:

./tt mark-done 1

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages