The publish-flows command publishes all flows defined in a manifest using the ProcessFlow snapshot API. It automatically rebuilds each flow's label_cache before publishing to ensure the Flow Designer UI renders correctly. Run this after sn test passes to make flows active.
publish-flows
Publish all flows in a manifest.
sn publish-flows <manifest.ts> Publish all flows in a manifest.
Arguments
| Name | Required | Description |
|---|---|---|
| manifest.ts | Yes | Path to the manifest containing flow steps. |
Examples
sn publish-flows manifests/flow/manifest.tsPublishing flows...
✓ My Approval Flow — published
✓ My Notification Subflow — published
2/2 flows published.