Relnote command logo

RELNOTE

Build Status Version Github Downloads
The 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.

Features

Installation

  1. Download the relnote script.

    git clone https://github.com/Sulaymon-Dev20/relnote.git
    
  2. Make it executable:

    chmod +x install.sh
    
  3. Move it to a directory in your PATH:

    sudo bash install.sh
    

Usage

HOW TO USE RELNOTE
   relnote [OPTIONS]

Options

Examples

  1. Basic usage with default settings:
    relnote
    
  2. Inject note.js into a custom HTML file and set a release date:
    relnote -f myfile.html -j /path/to/note.js -d "Sun Sep 15 10:00:00 CDT 2024"
    
  3. Specify API data URL and adjust warning timings:
    relnote -f custom.html -u http://example.com/api -wa 3600000 -wd 30000
    

Relnote Command Explanation

The command you provided looks like this:

relnote --deploy 'TODAY' --warning-activation=86400000 --warning-dismissal=600

Explanation

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

License

This project is licensed under the MIT License.

Author