A powerful CLI tool for counting words in files or raw text with interactive prompts and detailed word analysis.
- 📊 Count words from files or raw text input
- 🎯 Interactive command-line interface
- 📋 Detailed word frequency analysis
- 🎨 Beautiful colored output
- ⚡ Fast and efficient processing
npm install -g wd-counter-cliwd-cli countYou'll be prompted to select a file or enter custom input. You can also pass arguments directly:
wd-cli count "path/to/file.txt"
wd-cli count "Some text to count"
wd-cli count file1.txt file2.txt "raw text"wd-cli greet # Interactive greeting
wd-cli ask # Ask a question
wd-cli --version # Show version
wd-cli --help # Show help- Node.js >= 16.0.0
- npm
# Clone the repository
git clone https://github.com/Gopendranath/word-count-cli.git
cd word-count-cli
# Install dependencies
npm install
# Run the CLI locally
node index.js countISC
rick-999