Built with ❤️ using JavaScript
Follow these simple steps to create your personalized Valentine CLI:
Open index.js
and add your name:
const rainbowTitle = chalkAnimation.rainbow(`This is a letter from (Your Name)\n`);
Replace (Your Name)
with your name (Line 16 in index.js
).
Publish your changes as a package:
npm login
npm version patch
npm publish
Ask them to run your CLI using:
npx <your-package-name>
Want to see it in action? Try the existing version:
npx cli-letter
- chalk - Terminal string styling
- inquirer - Interactive prompts
- gradient-string - Beautiful gradients
- chalk-animation - Terminal animations
- figlet - ASCII text generator
- nanospinner - Lightweight spinner
npm i chalk chalk-animation figlet gradient-string inquirer nanospinner