CLI for visual regression testing with Pixel Eagle.
From the install script:
curl -fsSL https://pixel-eagle.com/install.sh | shFrom GitHub releases, download the binary for your platform.
From source:
cargo install --git https://github.com/vleue/pixeleagle-cli --features cli# Create a run
RUN_ID=$(pixeleagle new-run --metadata '{"branch":"main"}')
# Upload screenshots
pixeleagle upload-screenshots $RUN_ID screenshot1.png screenshot2.png
# Compare with a previous run and wait for results
pixeleagle compare-run $RUN_ID --with-run $PREVIOUS_RUN_ID --wait --print-detailsSet PIXEL_EAGLE_TOKEN to your project's token.