1.1.3 • Published 3 years ago

cli-todo-app v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Todo Command Line Application

Very Simple and Easy to use Todo Command Line application.

Can Also be imported as a logger in Programs.

How to use ?

  • npm install -g cliTodo

  • todo --help

  • t -h

Both t/todo can be used

  • t l => listing todos
  • t a => add todo
  • t -h =>todo help
  • t md =>make todo done
  • t mu =>undone a todo
  • t rm =>remove todo
  • t ra =>remove all todos
  • t n <1 or 0> => 1 for enabling desktop notification, 0 for disabling desktop notification (TEST FEATURE)
    • Notifications will pop when completed a task.

Wanto to use Programatically or as logger, Go ahead and import (Experimental).

  • Export Mode Example

    • import todo from "cli-todo-app";
      try {
        todo.ra(); //clear all logs
        todo.n("0"); //disable desktop notifications
        todo.a(["working"]);
        todo.md(["1"]);
        todo.mu(["1"]);
        todo.rm(["1"]);
        todo.l();
        todo.ra(); //clear all
      } catch (e) {
        //do nothing keep silent (intentional for CLI use)
      }

image image