A simple command-line interface for managing todos.
-
show
- Displays all todos in a table format.
-
add <todo>
- Adds a new todo with the provided task description.
-
update <todo_num>
- Toggles the status of the todo at the specified number.
-
edit <todo_num> <new_todo>
- Edits the task description of the todo at the specified number.
-
delete <todo_num>
- Deletes the todo at the specified number.
Run node cli-todo.js <command> [options]
to use the commands.