wd-counter-cli
v1.0.1
Published
A powerful CLI tool for counting words in files or raw text with interactive prompts and detailed word analysis
Maintainers
Readme
word-count-cli
A powerful CLI tool for counting words in files or raw text with interactive prompts and detailed word analysis.
Features
- 📊 Count words from files or raw text input
- 🎯 Interactive command-line interface
- 📋 Detailed word frequency analysis
- 🎨 Beautiful colored output
- ⚡ Fast and efficient processing
Installation
npm install -g wd-counter-cliUsage
Count words from files or text
wd-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"Other commands
wd-cli greet # Interactive greeting
wd-cli ask # Ask a question
wd-cli --version # Show version
wd-cli --help # Show helpRequirements
- Node.js >= 16.0.0
- npm
Development
# Clone the repository
git clone https://github.com/rick-999/word-count-cli.git
cd word-count-cli
# Install dependencies
npm install
# Run the CLI locally
node index.js countLicense
ISC
Author
rick-999
