Skip to content

sprig CLI

Run ./sprig from the distribution root with no arguments for usage.

Command Effect
./sprig local up Start the Topaz emulator, provision the platform inside it, start the API on localhost:7071
./sprig local test Nine-step end-to-end: publish → idempotency → deploy token → share → approve → audit trail
./sprig local token Print a bearer token for the local API (for curl / plugin use)
./sprig local down Stop the local API and the emulator
Command Effect
./sprig azure install <sub> [-l region] [-e email] [-o ops-upn] Preview (what-if) → confirm → install → deploy code → smoke test
./sprig azure deploy Rebuild platform code and zip-deploy it
./sprig azure onboard <upn> Create a builder sandbox + scoped grant + policy + registration
./sprig azure smoke Post-install verification
Command Effect
./sprig test Platform unit tests (no Azure, no emulator)

Environment: SPRIG_LOCAL_PORT overrides the local API port; the CLI auto-selects a compatible Node for the local Functions host when needed.