Skip to content

Commit 2ad41ab

Browse files
authored
Replace tctl references with Temporal CLI (#1165)
1 parent 162cff7 commit 2ad41ab

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,8 +1676,8 @@ worker = Worker(
16761676
### Workflow Replay
16771677

16781678
Given a workflow's history, it can be replayed locally to check for things like non-determinism errors. For example,
1679-
assuming `history_str` is populated with a JSON string history either exported from the web UI or from `tctl`, the
1680-
following function will replay it:
1679+
assuming `history_str` is populated with a JSON string history either exported from the web UI or from the
1680+
`Temporal CLI`, the following function will replay it:
16811681

16821682
```python
16831683
from temporalio.client import WorkflowHistory

temporalio/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3355,7 +3355,7 @@ def from_json(
33553355
) -> WorkflowHistory:
33563356
"""Construct a WorkflowHistory from an ID and a json dump of history.
33573357
3358-
This is built to work both with Temporal UI/tctl JSON as well as
3358+
This is built to work both with Temporal UI/CLI JSON as well as
33593359
:py:meth:`to_json` even though they are slightly different.
33603360
33613361
Args:

temporalio/worker/_replayer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ async def replay_workflow(
112112
Args:
113113
history: The history to replay. Can be fetched directly, or use
114114
:py:meth:`temporalio.client.WorkflowHistory.from_json` to parse
115-
a history downloaded via ``tctl`` or the web UI.
115+
a history downloaded via ``Temporal CLI`` or the web UI.
116116
raise_on_replay_failure: If ``True`` (the default), this will raise
117117
a :py:attr:`WorkflowReplayResult.replay_failure` if it is
118118
present.

0 commit comments

Comments
 (0)