Skip to content

Commit 87ef0de

Browse files
committed
remove config
1 parent 1e0187d commit 87ef0de

File tree

4 files changed

+2
-49
lines changed

4 files changed

+2
-49
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ get started:
1919

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

22-
### Trying out the new `temporal` CLI
23-
24-
**Note** Switching to `temporal` CLI is not recommended on production environments.
25-
26-
`tctl next` is going to be deprecated. Please upgrade to Temporal CLI https://github.com/temporalio/cli#getting-started
27-
2822
## Auto-completion
2923

3024
Running `tctl completion SHELL` will output the related completion SHELL code. See the following

cli_curr/app.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
package cli_curr
2626

2727
import (
28-
"fmt"
29-
30-
"github.com/temporalio/tctl/config"
3128
"github.com/urfave/cli"
3229

3330
"github.com/temporalio/tctl/cli_curr/dataconverter"
@@ -258,13 +255,6 @@ func NewCliApp() *cli.App {
258255
SetFactory(NewClientFactory())
259256
}
260257

261-
if tctlConfig == nil {
262-
var err error
263-
if tctlConfig, err = config.NewTctlConfig(); err != nil {
264-
fmt.Printf("unable to load tctl config: %v", err)
265-
}
266-
}
267-
268258
return app
269259
}
270260

config/config.go

Lines changed: 0 additions & 31 deletions
This file was deleted.

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go 1.18
55
require (
66
github.com/fatih/color v1.13.0
77
github.com/gogo/protobuf v1.3.2
8-
github.com/gogo/status v1.1.1
98
github.com/golang/mock v1.6.0
109
github.com/gorilla/websocket v1.5.0
1110
github.com/hashicorp/go-hclog v1.3.1
@@ -16,7 +15,6 @@ require (
1615
github.com/stretchr/testify v1.8.1
1716
github.com/temporalio/tctl-kit v0.0.0-20221128225502-a682971cf481
1817
github.com/urfave/cli v1.22.10
19-
github.com/urfave/cli/v2 v2.4.0
2018
go.temporal.io/api v1.18.1
2119
go.temporal.io/sdk v1.21.1
2220
go.temporal.io/server v1.18.1-0.20230217005328-b313b7f58641
@@ -48,6 +46,7 @@ require (
4846
github.com/go-sql-driver/mysql v1.6.0 // indirect
4947
github.com/gocql/gocql v1.3.0 // indirect
5048
github.com/gogo/googleapis v1.4.1 // indirect
49+
github.com/gogo/status v1.1.1 // indirect
5150
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
5251
github.com/golang/protobuf v1.5.2 // indirect
5352
github.com/golang/snappy v0.0.4 // indirect
@@ -93,6 +92,7 @@ require (
9392
github.com/twmb/murmur3 v1.1.6 // indirect
9493
github.com/uber-common/bark v1.3.0 // indirect
9594
github.com/uber-go/tally/v4 v4.1.3 // indirect
95+
github.com/urfave/cli/v2 v2.4.0 // indirect
9696
github.com/xwb1989/sqlparser v0.0.0-20180606152119-120387863bf2 // indirect
9797
go.opencensus.io v0.24.0 // indirect
9898
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.4 // indirect

0 commit comments

Comments
 (0)