package cli import ( "fmt" "net/http" ) func (h *abraHandler) handleRemoveApp(w http.ResponseWriter, r *http.Request, appName string) { output, err := h.cmd.Run("abra", "app", "remove", appName, "-n") if err != nil { InternalServerError(w, fmt.Errorf("Error: %s", string(output))) return } w.WriteHeader(http.StatusOK) }