CLI

Command-line exports powered by Bun

Use the SSGen CLI to trigger exports inside GitHub Actions, GitLab CI, or any Bun-capable environment. The CLI mirrors the web form options and shares authentication with the API channel.

Quick start

bunx ssgen-cli login --service-account ./credentials.json
bunx ssgen-cli export --documents doc-sample-1 doc-sample-2 \
  --site-url https://example.com \
  --site-title "Example" \
  --output ./dist/export.zip

CI/CD integration

Install through bunx or add the CLI as a step in your pipeline. Artifacts produced by the CLI follow the same manifest schema used in the web app and API.

Status

The CLI is in preview. Feedback and feature requests are welcome at contact@ssgen.cc.