Temporal CLI
Temporal CLI is a command-line tool that can be used
to interact with a Temporal Cluster.
The tool is available for use as follows:
Temporal client Snap
Temporal CLI can be installed as a
and used on your local machine. The Temporal CLI snap can be used on Temporal server
environments with authorization enabled by enabling Google IAM login. More
instructions can be found on the snap’s documentation page.
Temporal Admin Charm
Temporal CLI commands can be run as an action in the Charmed Temporal Admin K8s
operator. Once deployed and related to the Temporal server, we can run any of
the available commands such as:
Create Namespace
juju run temporal-admin-k8s/0 cli args="operator namespace create --namespace default --retention 3d" --wait 1m
List Namespaces
juju run temporal-admin-k8s/0 cli args="operator namespace list" --wait 1m
Start Workflow Execution
juju run temporal-admin-k8s/0 cli args='workflow start --task-queue test-queue --type GreetingWorkflow --input '\"World\"'' --wait 1m