sndev.io / docs

publish-flow

Publish all flows in a manifest.

The publish-flow command publishes all flows defined in a manifest using the ProcessFlow snapshot API. Run this after sn test passes to make flows active.
sn publish-flow <manifest.ts>

Publish all flows in a manifest.

Arguments

NameRequiredDescription
manifest.tsYesPath to the manifest containing flow steps.

Examples

sn publish-flow examples/test-flow/manifest.ts
Publishing flows...
✓ My Approval Flow — published
✓ My Notification Subflow — published
2/2 flows published.