Skip to content

Commit 53d8458

Browse files
committed
Remove deprecated command
Signed-off-by: David Gageot <david.gageot@docker.com>
1 parent 350be2d commit 53d8458

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

cmd/root/root.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ func NewRootCmd() *cobra.Command {
109109
cmd.AddCommand(NewVersionCmd())
110110
cmd.AddCommand(NewRunCmd())
111111
cmd.AddCommand(NewExecCmd())
112-
cmd.AddCommand(NewTuiCmd())
113112
cmd.AddCommand(NewNewCmd())
114113
cmd.AddCommand(NewAPICmd())
115114
cmd.AddCommand(NewEvalCmd())

cmd/root/run.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,6 @@ func NewRunCmd() *cobra.Command {
8080
return cmd
8181
}
8282

83-
func NewTuiCmd() *cobra.Command {
84-
return &cobra.Command{
85-
Use: "tui",
86-
Short: "Deprecated. Use `cagent run` instead.",
87-
Hidden: true,
88-
RunE: func(cmd *cobra.Command, args []string) error {
89-
fmt.Fprintln(os.Stderr, "'cagent tui' is deprecated. Please use 'cagent run' instead.")
90-
return nil
91-
},
92-
}
93-
}
94-
9583
func runCommand(cmd *cobra.Command, args []string) error {
9684
telemetry.TrackCommand("run", args)
9785
return doRunCommand(cmd.Context(), args, false)

0 commit comments

Comments
 (0)