Skip to content

flow template

Manage flowfile templates.

Synopsis

Manage flowfile templates. A template is a reusable flowfile scaffold that can generate executables, directory structures, and configuration files via 'template generate'.

Templates are registered by name for easy reuse. Use 'template add' to register a template, 'template generate' to scaffold from one, and 'template list' to see what's available.

Templates (*.flow.tmpl files) are also auto-discovered within your workspaces during 'flow sync' — dropping one into a workspace makes it available without registering it. Registered templates take precedence over discovered ones when names collide; use a 'workspace/name' reference to target a specific discovered template.

Options

FlagTypeDescription
-h, --helphelp for template

Options inherited from parent commands

FlagTypeDescription
-L, --log-levelstringLog verbosity level (debug, info, fatal) (default "info")
--syncSync flow cache and workspaces

See also

  • flow — flow is a command line interface designed to make managing and running development workflows easier.
  • flow template add — Register a flowfile template by name.
  • flow template generate — Generate workspace executables and scaffolding from a flowfile template.
  • flow template get — Get a flowfile template's details. Either it's registered name or file path can be used.
  • flow template list — List registered and workspace-discovered flowfile templates.
  • flow template remove — Unregister a flowfile template by name.