<commit_before># bullet

[![License](https://img.shields.io/badge/license-MIT-yellowgreen.svg?style=flat-square)](LICENSE.txt)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](http://godoc.org/github.com/mitsuse/bullet)
[![Wercker](http://img.shields.io/wercker/ci/54de05bd3e143292231627b6.svg?style=flat-square)](https://app.wercker.com/project/bykey/ce611c227b5097606b6f3dc589c80ff5)
[![Coverage](https://img.shields.io/coveralls/mitsuse/bullet.svg?style=flat-square)](https://coveralls.io/r/mitsuse/bullet)

A command-line tool to send a message or a file to [Pushbullet](https://www.pushbullet.com/).

## Usage

### Configuration

First, bullet requires the access token to call Pushbullet API.
Execute the below command and register your access token:

```bash
$ bullet auth
```

The path of config file is `$HOME/.config.bullet`.
If you want to specify the path, use `-c` option:

```bash
$ bullet auth -c <path to the config file>
```

### Push

Send a message to your devices via Pushbullet with the following command:

```bash
$ bullet send -t <title> -m <message>
```

You can send a link or a file with the message:

```bash
$ bullet send -t <title> -m <message> -l <url or path>
```

If you want to notify a specific device, use `-d` option with its *nickname*:

```bash
$ bullet send -d <nickname> -t <title> -m <message>
```

## Installation

The executable binaries have not been distributed yet.
Please compile sources into the binary:

```bash
$ go get github.com/mitsuse/bullet/cmd/bullet
```

## License<commit_msg>The registered devices can be listed with `bullet list`.<commit_after># bullet

[![License](https://img.shields.io/badge/license-MIT-yellowgreen.svg?style=flat-square)](LICENSE.txt)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](http://godoc.org/github.com/mitsuse/bullet)
[![Wercker](http://img.shields.io/wercker/ci/54de05bd3e143292231627b6.svg?style=flat-square)](https://app.wercker.com/project/bykey/ce611c227b5097606b6f3dc589c80ff5)
[![Coverage](https://img.shields.io/coveralls/mitsuse/bullet.svg?style=flat-square)](https://coveralls.io/r/mitsuse/bullet)

A command-line tool to send a message or a file to [Pushbullet](https://www.pushbullet.com/).

## Usage

### Configuration

First, bullet requires the access token to call Pushbullet API.
Execute the below command and register your access token:

```bash
$ bullet auth
```

The path of config file is `$HOME/.config.bullet`.
If you want to specify the path, use `-c` option:

```bash
$ bullet auth -c <path to the config file>
```

### Push

Send a message to your devices via Pushbullet with the following command:

```bash
$ bullet send -t <title> -m <message>
```

You can send a link or a file with the message:

```bash
$ bullet send -t <title> -m <message> -l <url or path>
```

If you want to notify a specific device, use `-d` option with its *nickname*:

```bash
$ bullet send -d <nickname> -t <title> -m <message>
```

The registered devices can be listed with `bullet list`.

## Installation

The executable binaries have not been distributed yet.
Please compile sources into the binary:

```bash
$ go get github.com/mitsuse/bullet/cmd/bullet
```

## License
{'fraction_non_alphanumeric': 0.14881136153133684, 'fraction_numerical': 0.024081506637851188, 'mean_word_length': 4.654450261780105, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 12, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2575231', 'n_tokens_mistral': 1184, 'n_tokens_neox': 1065, 'n_words': 322}