dflow templates:install
Install an official recipe, or a dflow.json file, into the current environment.
dflow templates:install NAME
dflow templates:install --file PATHFlags
--file optional. --wait is not a flag on this command. It always waits, up to 20 minutes. Globals.
What you see
The terminal prints aligned labels for the operation id and status, then aligned labels name, public_url, and id for the install. One-time secrets print as secret.KEY. A private recipe leaves public_url empty. Pass a name or --file, not both. An unknown name returns 404. A document that fails the schema returns 400. Exit 0 when the install succeeded.
When it fails
A file that cannot be read exits 1 before a request. Exit 1: usage or a recipe file that cannot be read. Exit 2: auth. Exit 3: unknown template. Exit 4: conflict. Exit 5: operation failed. Exit 6: precondition. Exit 7: wait ended first. Exit 10: unreachable.
How is this guide?
Last updated on