This project provides a task management system developed in Rust, focused on offering an efficient and easy-to-use command line interface (CLI) for organizing and managing daily tasks.
- Add Tasks: Create new tasks with a name and description.
- Mark Tasks as Completed: Allows marking tasks as completed.
- Unmark Completed Tasks: Ability to revert the completion status of tasks.
- Delete Tasks: Deletes specific tasks or all tasks.
- Edit Tasks: Modify the details of existing tasks, including their name and description.
- List Tasks: Displays all tasks with details.
The command line interface (CLI) of taskmanager.exe offers a quick way to manage your tasks directly from the terminal. Below, you will find a list of available commands along with a brief description of what each one does. You can use these commands to add, edit, mark, and delete tasks, as well as to view all your current tasks.
To use a command, utilize the taskmanager.exe executable followed by the command and the required arguments. There is also the option to get additional help.
USAGE:
taskmanager.exe [COMMAND]
COMMANDS:
add Add a new task
mark Mark one or all tasks as completed
unmark Unmark one or all completed tasks
delete Delete one task or all tasks
edit Edit an existing task
list List all tasks
OPTIONS:
-h, --help Print help
-V, --version Print versionTo add a new task, use the add command with the name and description of the task:
./taskmanager add --name "Task Name" --description "Task Description"
./taskmanager add -n "Task Name" -d "Task Description"To delete a specific task, use the delete command with the task's ID. To delete all tasks, use all:
./taskmanager delete 123 # Delete the task with ID 123
./taskmanager delete all # Delete all tasksTo mark a task as completed, use the mark command with the task's ID. To mark all tasks, use all:
./taskmanager mark 123 # Mark the task with ID 123 as completed
./taskmanager mark all # Mark all tasks as completedTo revert the completion status of a task, use the unmark command with the task's ID. To unmark all tasks, use all:
./taskmanager unmark 123 # Unmark the task with ID 123
./taskmanager unmark all # Unmark all tasksTo edit an existing task, use the edit command with the task's ID and the new details:
./taskmanager edit 123 --name "New Name" --description "New Description"
./taskmanager edit 123 -n "New Name" -d "New Description"
./taskmanager edit 123 --name "New Name"
./taskmanager edit 123 --description "New Description"To list all tasks, use the list command:
./taskmanager list