Created
November 4, 2023 19:52
-
-
Save mortymacs/cef6c07ec8354af329578a0351e39687 to your computer and use it in GitHub Desktop.
Temporal CLI sample commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a namespace | |
$ tctl --ns <NAMESPACE> n re | |
# Get namespace description. | |
$ tctl --ns <NAMESPACE> n desc | |
# Send a request to the workflow. | |
$ tctl workflow run --taskqueue <TASK-QUEUE> --workflow_type <WORKFLOW-NAME> --input '{"name": "something", "foo": "bar"}' | |
# Get list of workflows. | |
$ tctl workflow list --workflow_type <WORKFLOW-NAME> -m | |
$ tctl workflow list --workflow_type <WORKFLOW-NAME> | |
$ tctl workflow list --workflow_type <WORKFLOW-NAME> --pf | |
# Show a workflow info. | |
$ tctl workflow show --workflow_id <ID> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment