Skip to content

Commit

Permalink
refactor: update delete cmd to follow the common cmd pattern (#1041)
Browse files Browse the repository at this point in the history
  • Loading branch information
adohe committed Apr 16, 2024
1 parent 5b5c3b6 commit 5b05fbe
Show file tree
Hide file tree
Showing 11 changed files with 722 additions and 744 deletions.
20 changes: 0 additions & 20 deletions pkg/cmd/build/build.go

This file was deleted.

88 changes: 0 additions & 88 deletions pkg/cmd/build/options.go

This file was deleted.

2 changes: 1 addition & 1 deletion pkg/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func NewKusionctlCmd(o KusionctlOptions) *cobra.Command {
Commands: []*cobra.Command{
preview.NewCmdPreview(o.IOStreams),
apply.NewCmdApply(o.IOStreams),
destroy.NewCmdDestroy(),
destroy.NewCmdDestroy(o.IOStreams),
},
},
{
Expand Down
Loading

0 comments on commit 5b05fbe

Please sign in to comment.