dtkt flow run

Command

Run a flow by name, local file path, or remote URI.

Description

Execute a flow specification by name, local file path, or remote URI. Supports connection mapping via --conns flag and timeout controls.

Usage

dtkt flow run NAME|PATH|URI [flags]

Flags

FieldDefaultUsage
--compact, -cfalse

Compact output (no extra whitespace).

--conns[]

Map of connection node id to connection resource (e.g. "bigquery"="bigquery-dev", "chrome"="users/me/connections/chrome-default".)

--data, -d

Input data as string literal parsed according to input format.

--delim

Input delimiter when streaming, format-specific defaults: (json: "\n", yaml: "---\n").

--editfalse

Edit input with interactive prompt when validate reports error(s).

--expr

CEL expression to filter/transform output data.

--help, -hfalse

Show help for the run command.

--input-expr

CEL expression to filter/transform input data.

--input-file, -f

Read input from file: (PATH|URI|stdin|"@"|"-").

--input-format, -ijson

Input format: [json | yaml].

--input-throttle0s

Minimum time between inputs.

--input-timeout0s

Execution stopped if time between inputs exceeds given duration; (no timeout when "0s" or not provided).)

--output-delim

Output delimiter when streaming, format-specific defaults: (json: "\n", yaml: "---\n").

--output-file, -wstdout

Output file: (PATH|stdout|stderr).

--output-format, -ojson

Output format: [json | yaml | pretty | go-template].

--output-streamfalse

Encode output list as stream of individual items.

--rawfalse

Raw output (unquoted when output is a single string).

--redactfalse

Redact sensitive data from output.

--streamfalse

Parse input list value as stream of individual items.

--template

Template string; when set, output format go-template is implied.

--template-file

Template file path; when set, output format go-template is implied.

--timeout, -t0s

Execution stopped if total run time exceeds given duration; (no timeout when "0s" or not provided).

--validatetrue

Validate input and report error(s).

Inherited Flags

FieldDefaultUsage
--accept-legal-noticesfalse

Accept legal notices (license).

--cloudfalse

Overrides the contexts to cloud; equivalent to --contexts=cloud.

--cloud-org

Cloud Organization by (UID|NAME).

--cloud-space

Cloud Space by (UID|NAME).

--config

The active configuration name to override.

--contexts[]

Overrides any current contexts from config.

--localfalse

Overrides the contexts to local; equivalent to --contexts=local.

--log-formatpretty

Log format: (text|json|pretty).

--log-levelinfo

Log level: (debug|info|warn|error).

--non-interactivefalse

Run in non-interactive mode.

--remotefalse

Overrides the contexts to the configured remote.

Parent Command

dtkt flow