Version: 1.0
Author: Samuel Dasilva
The Word Counter is a simple command-line application that counts the number of words in a text file.
- Counts the number of words in a given text file.
- Easy to use with command-line arguments.
- Built with Rust using the Clap library.
-
Ensure you have Rust installed. If not, you can install it from https://www.rust-lang.org/tools/install.
-
Clone the repository or download the source code.
-
Navigate to the project directory in the terminal.
-
Build the application:
cargo build --release
-
Run the application:
./target/release/word_counter <file_path>
<file_path>
: The path to the text file for which you want to count words.
./target/release/word_counter path/to/your/file.txt