mix comm_bus.sync_fixtures (CommBus v0.1.0)

Copy Markdown View Source

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

Summary

Functions

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

Functions

run(args)

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.