matrix-todos-cli
is a command-line interface tool for managing your to-do list efficiently. With this package, you can easily add, edit, delete, and view to-do items, as well as filter them based on various criteria.
- Add a New ToDo: Add a new to-do item with details such as importance, urgency, status, and deadline.
- Edit an Existing ToDo: Modify the details of an existing to-do item.
- Delete a ToDo: Remove a to-do item based on different filter criteria.
- View All ToDos: Display all to-do items with filtering options.
- Filter ToDos: Filter to-do items by status, deadline, task content, importance, and urgency.
- Beautiful Console Output: View your to-do list in a well-formatted table.
To use matrix-todo-cli
, you need to install it via npm:
npm install matrix-todos-cli
In your main file (e.g., index.js
), you can use the package as follows:
import { showMenu, initFile } from "matrix-todos-cli";
// Initialize the file
initFile();
// Show the main menu
showMenu();
When you run the CLI, you will see a menu with the following options:
Add ToDo:
Adds a new to-do item.Edit ToDo:
Edits an existing to-do item.Delete ToDo:
Deletes a to-do item.View ToDos:
Views all to-do items.Exit:
Exits the application.
When deleting or viewing to-dos, you can filter by:
All:
View or delete all to-do items.Status:
Filter by status (Completed, Ongoing, Plan).Deadline:
Filter by deadline (e.g., 1Hr, 1Day, 1Month).Todo:
Filter by task content.
Connect with me on social media: GitHub LinkedIn Twitter
Feel free to reach out if you have any questions or suggestions!