<commit_before># dpm

Wouldn't it be great if the only tool you need to start developing on any project is just _Docker_?

[![asciicast](https://asciinema.org/a/5h4iu5ypry79rw7hgxq4hteyc.png)](https://asciinema.org/a/5h4iu5ypry79rw7hgxq4hteyc)

## Installation

Install Docker. Then:

    curl -L "https://github.com/fermayo/dpm/releases/download/0.2.1/dpm-$(uname -s)-$(uname -m)" -o /usr/local/bin/dpm; chmod +x /usr/local/bin/dpm

And add `~/.dpm` to your `$PATH`. For example, for `bash`:

    echo "export PATH=\$PATH:$HOME/.dpm" >> ~/.bashrc

If you want project commands installed with `dpm` to override system commands (be careful!), use the following instead:

    echo "export PATH=$HOME/.dpm:\$PATH" >> ~/.bashrc


## Usage

### Defining commands for your project

Add a file called `dpm.yml` to your project root defining the commands you want to use for development. For example:

```yaml
commands:
  go:<commit_msg>Bump version<commit_after># dpm

Wouldn't it be great if the only tool you need to start developing on any project is just _Docker_?

[![asciicast](https://asciinema.org/a/5h4iu5ypry79rw7hgxq4hteyc.png)](https://asciinema.org/a/5h4iu5ypry79rw7hgxq4hteyc)

## Installation

Install Docker. Then:

    curl -L "https://github.com/fermayo/dpm/releases/download/0.2.2/dpm-$(uname -s)-$(uname -m)" -o /usr/local/bin/dpm; chmod +x /usr/local/bin/dpm

And add `~/.dpm` to your `$PATH`. For example, for `bash`:

    echo "export PATH=\$PATH:$HOME/.dpm" >> ~/.bashrc

If you want project commands installed with `dpm` to override system commands (be careful!), use the following instead:

    echo "export PATH=$HOME/.dpm:\$PATH" >> ~/.bashrc


## Usage

### Defining commands for your project

Add a file called `dpm.yml` to your project root defining the commands you want to use for development. For example:

```yaml
commands:
  go:
{'fraction_non_alphanumeric': 0.1410877759827679, 'fraction_numerical': 0.01830910070005385, 'mean_word_length': 3.9946236559139785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 6, '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': '4750936', 'n_tokens_mistral': 705, 'n_tokens_neox': 664, 'n_words': 202}