Make hosted workflow source code public through Libretto Cloud.The
cloud share command creates a public code share for a workflow that is already deployed to Libretto Cloud. Use it when you want anyone with the generated URL to fork your automation code and use it as the starting point for their own automation.
Workflow sharing requires a Libretto Cloud account, API key, and tenant-level
code sharing. Code sharing is disabled by default for new tenants. If you have
not set up Libretto Cloud yet, start with Libretto Cloud
Hosting.
cloud share
Syntax
The hosted workflow name to share. This is the workflow name declared in code
and deployed with
npx libretto cloud deploy.Refresh an existing share from the workflow’s current deployment.
Prerequisites
Create a Libretto Cloud account
Sign up for Libretto Cloud before sharing workflows:See Libretto Cloud Hosting for the full
hosted setup flow.
Enable code sharing
Code sharing is disabled by default for each tenant. Enable it before
creating public workflow links:
Output
When sharing succeeds, Libretto prints the public marketplace URL and code URL:--refresh to update the shared code from the current deployment:
cloud sharing
Use thecloud sharing commands to inspect or change whether public workflow code sharing is enabled for the current Libretto Cloud tenant. New tenants start with code sharing disabled.
cloud sharing commands require LIBRETTO_API_KEY.