git clone "https://github.com/bandhan-majumder/CLI-Todo/"
cd CLI-Todo
npm install
alias todo="node index.js"
# set up alias for index.js
This will setup the alias temporarily, to make it permanent, go to vi ~/.bashrc
and add "alias todo="node index.js" at the bottom of the file.
todo -h # for manual of the commands.
todo add <new_todo> <status>
# for exp: todo add "Go to sleep" "pending". It creates a todo with current status.
todo delete <todo's description>
# for exp: todo delete "go to sleep". Deletes a todo. Note that any type of casing is supported.
todo status <todo_des> <status>
# for exp: todo status "go to sleep" "done".. Updates the todo with new status
todo all
# shows all the todo