<commit_before>#send-notification

A toolbox in `Java` to send notifications.

## Usage

### Add dependency with your favorite build tool.

Example with *Maven*:

    <dependencies>
     [...]
        <dependency>
            <groupId>fr.jcgay.send-notification</groupId>
            <artifactId>send-notification</artifactId>
            <version>0.1</version>
        </dependency>
     [...]
    </dependencies>

Get a notifier:

    Notifier notifier = new SendNotification()
        .setApplication(application)
        .chooseNotifier();

Then send notification:

    notifier.init();
    try {
        notifier.send(notification);
    } finally {
        notifier.close;
    }

## CLI

Download [bundle](), extract it, add the `bin` directory to your `$PATH`.

    > send-notification -h
    
    Usage: <main class> [options] notifier(s)
      Options:
        -h, --help
           show help<commit_msg>Prepare release<commit_after>#send-notification

A toolbox in `Java` to send notifications.

## Usage

### Add dependency with your favorite build tool.

Example with *Maven*:

    <dependencies>
     [...]
        <dependency>
            <groupId>fr.jcgay.send-notification</groupId>
            <artifactId>send-notification</artifactId>
            <version>0.1</version>
        </dependency>
     [...]
    </dependencies>

Get a notifier:

    Notifier notifier = new SendNotification()
        .setApplication(application)
        .chooseNotifier();

Then send notification:

    notifier.init();
    try {
        notifier.send(notification);
    } finally {
        notifier.close;
    }

## CLI

Download [bundle](http://search.maven.org/remotecontent?filepath=fr/jcgay/send-notification/send-notification-cli/0.1/send-notification-cli-0.1-binaries.zip), extract it, add the `bin` directory to your `$PATH`.

    > send-notification -h
    
    Usage: <main class> [options] notifier(s)
      Options:
        -h, --help
           show help
{'fraction_non_alphanumeric': 0.12576374745417515, 'fraction_numerical': 0.004073319755600814, 'mean_word_length': 2.3879310344827585, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1706192', 'n_tokens_mistral': 598, 'n_tokens_neox': 559, 'n_words': 134}