1 unstable release
0.1.0 | Dec 31, 2024 |
---|
#675 in Command line utilities
7KB
125 lines
To-Do CLI
A simple command-line to-do list application written in Rust.
Features
- Add a new task
- List all tasks
- Mark a task as done
- Remove a task
- Search for tasks by description
Installation
- Ensure you have Rust installed.
- Clone the repository:
git clone https://github.com/yourusername/rustApp.git
- Navigate to the project directory:
cd rustApp
- Build the project:
cargo build
Usage
Run the application using cargo run
followed by the desired command and options.
Commands
-
Add a new task
cargo run -- add -d "Task description"
-
List all tasks
cargo run -- list
-
Mark a task as done
cargo run -- done -i 1
-
Remove a task
cargo run -- remove -i 1
-
Search for tasks by description
cargo run -- search -q "query"
Help
Display the help message:
cargo run -- --help
Display the version information:
cargo run -- --version
License
This project is licensed under the MIT License. See the LICENSE file for details.
Dependencies
~1.5–2.6MB
~49K SLoC