A CLI tool that displays mysterious messages from beyond. 👻
- Node.js (version 14 or higher)
- npm (comes with Node.js)
- Clone or download this repository
- Navigate to the project directory:
cd MOTD- Install dependencies:
npm install- Make the CLI globally available on your system:
npm linkAfter installation, you can use the CLI in two ways:
motd message # Display a random message
motd --help # Show help menu-c, --clear: Clear the console-d, --debug: Print debug information
index.js: Main CLI entry pointutils/: Helper functions and utilitiesmessages.json: Collection of mysterious messages
Make sure you have all these files in your project:
- package.json
- index.js
- messages.json
- utils/
- cli.js
- init.js
- log.js
If you get permission errors when running the CLI:
- Make sure the index.js file is executable:
chmod +x index.js- If
npm linkrequires sudo:
sudo npm linkGNU License - see package.json for details.
Created by lain (whoisjason.me)