relnote command helps create notifications about release dates by injecting a JavaScript file
into
an HTML file
and configuring notification settings. It allows you to dynamically set variables and manage notification
timings
through command-line options.
apiData, deployDate, and timing settings
for notifications.
Download the relnote script.
git clone https://github.com/Sulaymon-Dev20/relnote.git
Make it executable:
chmod +x install.sh
Move it to a directory in your PATH:
sudo bash install.sh
relnote [OPTIONS]
-f, --file
-j, --js
-u, --url
-d, --deploy
-wa, --warning-activation
-wd, --warning-dismissal
-h, --help Display this help message.
relnote
relnote -f myfile.html -j /path/to/note.js -d "Sun Sep 15 10:00:00 CDT 2024"
relnote -f custom.html -u http://example.com/api -wa 3600000 -wd 30000
The command you provided looks like this:
relnote --deploy 'TODAY' --warning-activation=86400000 --warning-dismissal=600
If you'd like the warning to remain visible longer, increase the dismissal time. For example, to set the warning to stay for 10 minutes, use:
--warning-dismissal=600000
This project is licensed under the MIT License.