Temporal CLI command options reference
active-cluster
Active cluster name.
activity-id
Identifies the Activity Execution.
address
The host and port (formatted as host:port) for the Temporal Frontend Service.
archived
List archived Workflow Executions.
Currently an experimental feature.
build-id
Identifies the build to retrieve reachability information for. Can be specified multiple times.
calendar
Calendar specification in JSON ({"dayOfWeek":"Fri","hour":"17","minute":"5"})
or as a Cron string ("30 2 \* \* 5" or "@daily")
.
catchup-window
Maximum allowed catch-up time if server is down.
cluster
Cluster name.
codec-auth
Sets the authorization header on requests to the Codec Server.
codec-endpoint
Endpoint for a remote Codec Server.
color
When to use color: auto, always, never. (default: auto)
concurrency
Request concurrency.
context-timeout
An optional timeout for the context of an RPC call (in seconds).
cron
The Cron schedule can be formatted like the following:
┌───────────── minute (0 - 59)
│ ┌───────────── hour (0 - 23)
│ │ ┌───────────── day of the month (1 - 31)
│ │ │ ┌───────────── month (1 - 12)
│ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday)
│ │ │ │ │
* * * * *
data
Namespace data in a key=value format.
Values must be in JSON format.
db-filename
File in which to persist Temporal state. By default, Workflows are lost when the process dies.
depth
The number of Child Workflows to fetch and expand.
Use -1
to fetch Child Workflows at any depth.
description
Namespace description.
detail
A provided reason for failing an Activity.
dry-run
Simulate reset without resetting any Workflow Executions.
dynamic-config-value
Dynamic config value, formatted as KEY=JSON_VALUE
.
String values require quotation marks.
email
Owner email.
enable-connection
Enable cross-cluster connection.
end-time
Backfill end time.
env
Name of the environment to read environmental variables from.
event-id
The Event Id for any Event after WorkflowTaskStarted you want to reset to (exclusive). It can be WorkflowTaskCompleted, WorkflowTaskFailed or others.
exclude-file
Input file that specifies Workflow Executions to exclude from resetting.
execution-timeout
Timeout (in seconds) for a Workflow Execution, including retries and ContinueAsNew
tasks.
existing-compatible-build-id
A Build Id that already exists in the version sets known by the Task Queue. New Build Ids are stored in the version set containing this Id, making them compatible with the versions in that set.
fields
Customize fields to print. Set to 'long' to automatically print more of main fields.
first-execution-run-id
Run update on the last execution in the chain that started with this Run Id.
fold
Statuses for which Child Workflows will be folded in (this will reduce the number of information fetched and displayed).
Case-insensitive and ignored if --no-fold
is supplied.
follow
Follow the progress of a Workflow Execution.
frontend-address
Frontend address of the remote Cluster.
global
Flag to indicate whether a Namespace is a Global Namespace.
grpc-meta
Contains gRPC metadata to send with requests (format: key=value
).
Values must be in a valid JSON format.
headless
Disable the Web UI.
history-archival-state
Sets the history archival state. Valid values are "disabled" and "enabled".
history-uri
Optionally specify history archival URI (cannot be changed after first time archival is enabled).
id-reuse-policy
Allows the same Workflow Id to be used in a new Workflow Execution. Options: AllowDuplicate, AllowDuplicateFailedOnly, RejectDuplicate, TerminateIfRunning.
identity
Specify operator's identity.
input-file
Passes optional input for the Workflow from a JSON file. If there are multiple JSON files, concatenate them and separate by space or newline. Input from the command line will overwrite file input.
input-parallelism
Number of goroutines to run in parallel. Each goroutine processes one line for every second.
input-separator
Separator for the input file. The default is a tab (\t
).
input
Use the --input
command option to include data in the command.
This command option accepts a valid JSON string. If the entity that the command is acting on accepts multiple parameters, pass "null" for null values within the JSON string.
The following is an example of starting a Workflow with the --input
command option.
This Workflow expects a single string as a parameter:
temporal workflow start --input '"+1 555-555-5555"'
interval
Interval duration, such as 90m, or 90m/13m to include phase offset.
ip
IPv4 address to bind the frontend service to. (default: 127.0.0.1)
jitter
Jitter duration.
job-id
Batch Job Id.
limit
Number of items to print on a page.
log-format
Set the log formatting. Options: ["json", "pretty"].
log-level
Set the log level. Options: ["debug" "info" "warn" "error" "fatal"].
max-field-length
Maximum length for each attribute field.