# `mix comm_bus.sync_fixtures`
[🔗](https://github.com/fosferon/comm_bus/blob/v0.1.0/{path}#L{line})

Syncs prompt files from external project directories into test fixtures.

## Usage

    mix comm_bus.sync_fixtures [--clean]

## Configuration

Set source directories via environment variables:

    HUMAN_PROMPTS_DIR=/path/to/human/prompts \
    DEVMAN_PROMPTS_DIR=/path/to/devman/prompts \
    mix comm_bus.sync_fixtures

Or pass them as arguments:

    mix comm_bus.sync_fixtures --human /path/to/human/prompts --devman /path/to/devman/prompts

## Options

  * `--clean` - Remove existing fixtures before syncing
  * `--human` - Path to HuMan prompts directory
  * `--devman` - Path to DevMan prompts directory

# `run`
[🔗](https://github.com/fosferon/comm_bus/blob/v0.1.0/{path}#L{line})

Synchronizes prompt files from external project directories into the
golden test fixture directory, optionally cleaning existing fixtures first.

## Parameters

  - `args` — Command-line argument list; supports `--clean`, `--human`, `--devman`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
