Skip to content

Commit a19c50f

Browse files
committed
promote alpha tunnel & proxy commands to top level
1 parent 3d51525 commit a19c50f

File tree

12 files changed

+71
-304
lines changed

12 files changed

+71
-304
lines changed

pkg/cmd/alpha/alpha.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ package alpha
22

33
import (
44
"github.com/spf13/cobra"
5-
6-
alphatunnel "github.com/apoxy-dev/apoxy-cli/pkg/cmd/alpha/tunnel"
75
)
86

97
var alphaCmd = &cobra.Command{
108
Use: "alpha",
11-
Short: "Alpha features",
9+
Short: "Alpha features that are still under development",
1210
Run: func(cmd *cobra.Command, args []string) {
1311
cmd.Help()
1412
},
@@ -20,8 +18,6 @@ func Cmd() *cobra.Command {
2018
}
2119

2220
func init() {
23-
alphaCmd.AddCommand(alphatunnel.Cmd())
24-
alphaCmd.AddCommand(alphaProxyCmd)
25-
alphaCmd.AddCommand(runCmd)
21+
alphaCmd.AddCommand(rateLimitCmd)
2622
alphaCmd.AddCommand(stunServerCmd)
2723
}

pkg/cmd/alpha/proxy.go

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

pkg/cmd/alpha/ratelimit.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,4 @@ var createrateLimitCmd = &cobra.Command{
6868

6969
func init() {
7070
rateLimitCmd.AddCommand(createrateLimitCmd)
71-
alphaCmd.AddCommand(rateLimitCmd)
7271
}

0 commit comments

Comments
 (0)