Skip to content

Commit

Permalink
feat: add printout of what has been deleted (argoproj#8894)
Browse files Browse the repository at this point in the history
Signed-off-by: Regina Scott <rescott@redhat.com>
  • Loading branch information
reginapizza committed Mar 31, 2022
1 parent ba0c249 commit f1e0c84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/argocd/commands/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,7 @@ func NewApplicationDeleteCommand(clientOpts *argocdclient.ClientOptions) *cobra.
if lowercaseAnswer == "y" || lowercaseAnswer == "yes" {
_, err := appIf.Delete(context.Background(), &appDeleteReq)
errors.CheckError(err)
fmt.Printf("application '%s' deleted\n", appName)
} else {
fmt.Println("The command to delete '" + appName + "' was cancelled.")
}
Expand Down

0 comments on commit f1e0c84

Please sign in to comment.