This is simple todo manager that I've built in C. It's a simple command line tool that allows you to add, list, and remove tasks from a todo list.
The saved .txt
file is stored in the home directory of the user. This implies for Linux users only at the moment, i'm going to test it on MacOS soon.
$ git clone
$ cd todo
$ cmake ..
$ make
$ sudo make install
$ todo add "Buy some milk"
$ todo list
$ todo remove 1
To add a new task to the todo list, use the add
or -a
command followed by the task description.
todo add "Buy groceries"
todo -a "Buy groceries"
To list all tasks in the todo list, use the list
or -l
command.
todo list
todo -l
To remove a specific task from the todo list, use the remove
or -r
command followed by the task number.
todo remove 1
todo -r 1
To clear all tasks from the todo list, use the clear
or -c
command.
todo clear
todo -c
- Add dynamic home directory check
- [] Add date for when it was created and updated
- [] Encryption for the todo.txt file, OpenSSL?
- [] Add a
--help
flag to show the help message - [] Colorized Output
- [] Audit Log??
- [] Tests - https://github.com/ThrowTheSwitch/Unity
- [] Rename the toll to just "td" for a fast typeout in the terminal
- [] Consider publishing it to package managers like dnf, apt, or brew, if it get popular enough
Enable the app to accept arguments like:
- add
- list
- remove <task_id>
- clear
Do i even need this?
- [] complete <task_id>
- [] Make the file storage path configurable via a settings file or environment variable. This would be especially useful for users who want to sync the file across devices using cloud storage?