mix pipeline.run (pipeline v0.0.1)

View Source

Runs a Pipeline workflow from a YAML configuration file.

Usage

mix pipeline.run <config_file>          # Run in mock mode (safe, no API costs)
TEST_MODE=live mix pipeline.run <config_file>  # Run with real API calls

Examples

# Run the comprehensive example in mock mode
mix pipeline.run examples/comprehensive_config_example.yaml

# Run with real AI providers (requires API keys)
TEST_MODE=live mix pipeline.run examples/comprehensive_config_example.yaml

# Run with debug output
PIPELINE_DEBUG=true mix pipeline.run examples/comprehensive_config_example.yaml

Environment Variables

  • TEST_MODE: "mock" (default), "live", or "mixed"
  • PIPELINE_DEBUG: "true" to enable detailed logging
  • PIPELINE_LOG_LEVEL: "debug", "info" (default), "warn", "error"
  • GEMINI_API_KEY: Required for live mode with Gemini

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(list)

Callback implementation for Mix.Task.run/1.