Skip to content

devpaps/DevDoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo CLI made in C

DevDoo

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.

How to install and use it

$ git clone
$ cd todo
$ cmake ..
$ make
$ sudo make install
$ todo add "Buy some milk"
$ todo list
$ todo remove 1

Usage

Add a Task

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"

List All Tasks

To list all tasks in the todo list, use the list or -l command.

todo list
todo -l

Remove a Task

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

Clear All Tasks

To clear all tasks from the todo list, use the clear or -c command.

todo clear
todo -c

What is left to be done?

General Stuff

  • 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

Command-Line Arguments

Enable the app to accept arguments like:

  • add
  • list
  • remove <task_id>
  • clear

Do i even need this?

  • [] complete <task_id>

Configurable Storage Path

  • [] 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?

About

Simple todo manager built in C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published