Skip to content

Kaya-Sem/gotogo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gotogo

Build

Gotogo is a command-line tool for managing your to-do list. It checks all completed items and removes those older than one day, while keeping items completed today as encouragement.

img

Features

  • Automatically removes completed items older than one day
  • Keeps items completed today

Installation

To install Gotogo, use go install:

go install github.com/Kaya-Sem/gotogo@latest

Alternatively, you can download the latest release, rename the binary, and place it to a /bin folder.

Configuration

Gotogo requires a CSV file to store your to-do items. This file should be located in your XDG configuration home directory under .config/gotodo/todo.csv.

TLDR

mkdir -p ~/.config/gotogo; echo "id,title,completed,timestamp" > ~/.config/gotogo/todo.csv

Example

On most Linux systems, this would be:

~/.config/gotodo/todo.csv

CSV File Format

The CSV file should have the following headers:

id,title,completed,timestamp

An example of a to-do item:

1,Finish writing documentation,false,2024-10-01

The id, completed status and timestamp will be automatically generated when you create new items through the CLI interface.

Command Line Usage

to use Gotogo from the command line, you can run the following commands:

List all to-do items:

gotogo

Add a new to-do item:

gotogo add "Your new to-do item"

Mark a to-do item as completed:

gotogo done <item_id>

Contributing

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -am 'Add new feature')
  4. Push to the branch (git push origin feature-branch)
  5. Create a new Pull Request

License

This project is licensed under the MIT License - see the LICENSE.md file for details.