luisrojass / todo-cli

CLI for organize tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

todo-cli

Features

  • Add tasks to remember them later.
  • Do or undo tasks, after it remove them.
  • Count how many tasks are remaining.

Installation

First, import this project with git clone:

git clone https://github.com/luisrojass/todo-cli.git

Now, install all dependencies of this project:

go get

Then, install this cli on your system:

go install

After that, you can use the cli by the command todo.

To show what arguments are available, just write this same command: todo.

$ todo

Usage:
  ls                    Show all tasks
  add <args> [string]   Add a task, no quotes, no limit of words
  do <args> [int]       Mark selected task as completed
  undo <args> [int]     Mark selected task as incompleted
  rm <args> [int]       Delete selected task
  help                  Get more information

FAQ

After installing, if you can't use the cli or you see this error or similar:

Command 'todo' not found, but can be installed with:
sudo apt install devtodo

Then, you can add the following line to your .bashrc or equivalent file.

export PATH="$PATH:$(go env GOPATH)/bin"

Contributing

  • You can report bugs or suggest ideas through a issue.
  • Or clone this repository and make a pull request.

License

Copyright (c) 2023 Luis Rojas S.

MIT license

About

CLI for organize tasks

License:MIT License


Languages

Language:Go 100.0%