<commit_before>## `stencila/cli` : Stencila on the command line

[![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)
[![Build status](https://travis-ci.org/stencila/cli.svg?branch=master)](https://travis-ci.org/stencila/cli)
[![Code coverage](https://codecov.io/gh/stencila/cli/branch/master/graph/badge.svg)](https://codecov.io/gh/stencila/cli)
[![Dependency status](https://david-dm.org/stencila/convert.svg)](https://david-dm.org/stencila/cli)
[![Community](https://img.shields.io/badge/join-community-green.svg)](https://community.stenci.la)
[![Chat](https://badges.gitter.im/stencila/stencila.svg)](https://gitter.im/stencila/stencila)

### Install

Download and unzip the binary for the latest [release](https://github.com/stencila/cli/releases).<commit_msg>Update README with development and release tips<commit_after>## `stencila/cli` : Stencila on the command line

![Experimental](https://img.shields.io/badge/stability-experimental-orange.svg)
[![Build status](https://travis-ci.org/stencila/cli.svg?branch=master)](https://travis-ci.org/stencila/cli)
[![Code coverage](https://codecov.io/gh/stencila/cli/branch/master/graph/badge.svg)](https://codecov.io/gh/stencila/cli)
[![Dependency status](https://david-dm.org/stencila/convert.svg)](https://david-dm.org/stencila/cli)
[![Community](https://img.shields.io/badge/join-community-green.svg)](https://community.stenci.la)
[![Chat](https://badges.gitter.im/stencila/stencila.svg)](https://gitter.im/stencila/stencila)

### Install

Download and unzip the binary for the latest [release](https://github.com/stencila/cli/releases).

### Develop

```bash
npm install
npm run lint
npm test
npm run build
```

Or, if you prefer `make`:

```bash
make setup lint test build
```

The binaries `stencila-linux`, `stencila-macos` and `stencila-win.exe` in the `build` directory. You can test them out there e.g.

```bash
./build/stencila-linux convert test/fixtures/hello-world.md test/outputs/hello-world.html
```

The Travis CI build will upload binaries to the releases page. So, if there is no lint and all tests pass, make a release by pushing a tag:

```bash
git tag v0.29.0
git push && git push --tags
npm run release
```
{'fraction_non_alphanumeric': 0.1811722912966252, 'fraction_numerical': 0.0017761989342806395, 'mean_word_length': 5.155737704918033, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 23, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6972394', 'n_tokens_mistral': 834, 'n_tokens_neox': 786, 'n_words': 142}