<commit_before># Text-Runner Shell Actions

This package provides [Text-Runner](https://github.com/kevgo/text-runner)
actions for documenting console commands to be executed by the reader.

### Setup


To add this package as a Text-Runner plugin, run <code type="npm/install">npm i
-D textrun-shell</code> or <code type="npm/install">yarn i -D
textrun-shell</code>.

<!-- TODO: verify this somehow -->

You can define the absolute path of documented binaries in a
**textrun-shell.js** file in the root directory of your documentation. Here is
an example:

```js
module.exports = {
  binaries: {
    "text-run": path.join(__dirname, "node_modules", ".bin", "text-run"),
  },
}<commit_msg>Fix formatting<commit_after># Text-Runner Shell Actions

This package provides [Text-Runner](https://github.com/kevgo/text-runner)
actions for documenting console commands to be executed by the reader.

### Setup

To add this package as a Text-Runner plugin, run <code type="npm/install">npm i
-D textrun-shell</code> or <code type="npm/install">yarn i -D
textrun-shell</code>.

<!-- TODO: verify this somehow -->

You can define the absolute path of documented binaries in a
**textrun-shell.js** file in the root directory of your documentation. Here is
an example:

```js
module.exports = {
  binaries: {
    "text-run": path.join(__dirname, "node_modules", ".bin", "text-run"),
  },
}
{'fraction_non_alphanumeric': 0.1339155749636099, 'fraction_numerical': 0.0, 'mean_word_length': 4.308880308880309, 'pattern_counts': {'":': 2, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '2230946', 'n_tokens_mistral': 432, 'n_tokens_neox': 408, 'n_words': 153}