<commit_before># dictator

Process management for development

## usage

Create a dictator.json in the root of your project

~~~ json
{
  "redis": {
    "cmd": "redis-server",
    "args": ["--port", 1337],
    "deps": ["elasticsearch"],
    "color": "red"
  },
  "elasticsearch": {
    "cmd": "elasticsearch",
    "args": ["-f"],
    "color": "green"
  }
}
~~~

Will do the following:

1. Start elasticsearch, log its output in green
2. Start redis, log its output in red<commit_msg>Add more explanations to README<commit_after># dictator

Process management for development.

- Start up processes in order
- Colorized output (stdout & stderr)
- If child exits, terminate everything
- If dictator exits, terminate everything

## usage

Create a dictator.json in the root of your project

~~~ json
{
  "redis": {
    "cmd": "redis-server",
    "args": ["--port", 1337],
    "deps": ["elasticsearch"],
    "color": "red"
  },
  "elasticsearch": {
    "cmd": "elasticsearch",
    "args": ["-f"],
    "color": "green"
  }
}
~~~

Will do the following:

1. Start elasticsearch, log its output in green
2. Start redis, log its output in red
{'fraction_non_alphanumeric': 0.15343915343915343, 'fraction_numerical': 0.010582010582010581, 'mean_word_length': 3.4163424124513617, 'pattern_counts': {'":': 18, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '4681490', 'n_tokens_mistral': 380, 'n_tokens_neox': 365, 'n_words': 130}