rustappCLI

Crates.iorustappCLI
lib.rsrustappCLI
version0.1.0
created_at2024-12-31 15:31:11.086657+00
updated_at2024-12-31 15:31:11.086657+00
descriptionA simple command-line to-do list application written in Rust.
homepage
repositoryhttps://github.com/prvcds/to-do-list-CLI-rust
max_upload_size
id1500124
size14,569
Parv Jhanwar (prvcds)

documentation

README

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

  1. Ensure you have Rust installed.
  2. Clone the repository:
    git clone https://github.com/yourusername/rustApp.git
    
  3. Navigate to the project directory:
    cd rustApp
    
  4. 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.

Commit count: 15

cargo fmt