Skip to content
jarabumPublic

About

A simple command-line todo list CLI

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

todo-cli

A simple command-line todo list that works anywhere on your system.

Installation

Clone the repo and install with pipx:

git clone https://github.com/jarabum/todo-cli.git
cd todo-cli
pipx install .

If you want autocomplete add this line to .bashrc:

eval "$(register-python-argcomplete todo)"

Usage

todo add "buy milk" --priority low       # add a task with priority set to low
todo list                                # list all tasks
todo done 1                              # mark task 1 as done
todo done 1                              # mark task 1 as not done
todo remove 1                            # delete task 1
todo clear                               # remove all done tasks

Example

$ todo add "buy milk"
Added task: buy milk

$ todo add "walk the dog"
Added task: walk the dog

$ todo list
1. [ ] buy milk
2. [ ] walk the dog

$ todo done 1
Task: buy milk marked as done

$ todo list
1. [x] buy milk
2. [ ] walk the dog

Development

Clone the repo and install in editable mode:

git clone https://github.com/jarabum/todo-cli.git
cd todo-cli
python -m venv .venv
source .venv/bin/activate
pip install -e .

Tasks are saved to ~/.todo_tasks.json.

About

A simple command-line todo list CLI

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages