Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"program": "${workspaceFolder}/cmd/tctl",
"cwd": "${workspaceFolder}",
"args": [
"workflow",
"list",
"-h",
"config",
"get",
"version",
]
},
{
Expand Down
23 changes: 3 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[![build](https://github.com/temporalio/tctl/actions/workflows/test.yml/badge.svg)](https://github.com/temporalio/tctl/actions/workflows/test.yml)


> **Nota bene**: `tctl` CLI is being deprecated in later versions of Temporal server. Consider upgrading to Temporal CLI https://github.com/temporalio/cli#getting-started

The Temporal CLI is a command-line tool you can use to perform various tasks on a Temporal Server. It can perform namespace operations such as register, update, and describe as well as Workflow operations like start Workflow, show Workflow history, and signal Workflow.

Documentation for the Temporal command line interface is located at our [main site](https://docs.temporal.io/docs/system-tools/tctl).
Expand All @@ -16,26 +19,6 @@ get started:

**Note:** Make sure you have a Temporal server running before using the CLI.

### Trying out the new `tctl next` with updated UX

**Note** Switching to `tctl next` is not recommended on production environments.

The package contains both `tctl v1` and the updated `tctl next`. Version `next` brings updated UX, new commands and flags semantics, new features ([see details](https://github.com/temporalio/proposals/tree/master/cli)). Please expect more of upcoming changes in `tctl next`

By default, executing tctl commands will execute commands from tctl v1. In order to switch to experimental `tctl next` run

```
tctl config set version next
```

This will create a configuration file (`~/.config/temporalio/tctl.yaml`) and set tctl to `next`.

To switch back to the stable v1, run

```
tctl config set version current
```

## Auto-completion

Running `tctl completion SHELL` will output the related completion SHELL code. See the following
Expand Down
111 changes: 0 additions & 111 deletions cli/activity.go

This file was deleted.

119 changes: 0 additions & 119 deletions cli/activity_commands.go

This file was deleted.

63 changes: 0 additions & 63 deletions cli/alias.go

This file was deleted.

Loading