A simple CLI that displays our friend Shan's unique greetings.
- List Shan's special greetings
- Generate random Shan-style greetings
- Colorful and friendly command line interface
There are two ways to install the CLI:
npm install -g shan-greetings
- Clone the repository:
git clone https://github.com/your-username/shan-greetings.git
cd shan-greetings
- Install dependencies:
npm install
- Give execution permission to bin file:
chmod +x bin/greetings.js
- Install globally:
npm install -g .
The CLI has two main commands:
hi list
hi shan
To see all available commands:
hi --help
Current greetings include:
- "Hi how hello, everyone"
- "Hi how once again, hello everyone"
To contribute to the project:
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/shan-greetings.git
- Create a branch for your feature:
git checkout -b feature/new-feature
- Make your changes and commit:
git commit -m "Add new feature"
- Push to your fork:
git push origin feature/new-feature
- Open a Pull Request
If the greetings
command is not available after installation:
- Check if npm's bin directory is in your PATH:
echo $PATH
- If needed, add to your ~/.bashrc or ~/.zshrc:
export PATH="$PATH:$(npm config get prefix)/bin"
- Reload your terminal:
source ~/.bashrc # or source ~/.zshrc
MIT
Your Nam