删除所有Firebase功能 [英] Delete all firebase functions

查看:45
本文介绍了删除所有Firebase功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个部署了多个功能的firebase项目.是否可以通过CLI一次删除所有功能?

I have a firebase project with multiple functions deployed. Is it possible to remove all the functions in a single go through the CLI?

我尝试了命令 firebase functions:delete --region us-central1 并且错误输出为 Error:必须至少提供函数或组名.

I tried the command firebase functions:delete --region us-central1 and the error output was Error: Must supply at least function or group name.

截至目前,我删除了所有这些名称,并指定了每个名称,如下所示: firebase函数:删除function1 function2 ... functionN ,但这很麻烦.

As of right now, I deleted all of them specifying each of their names as such: firebase functions:delete function1 function2 ...functionN but this is very cumbersome.

已安装的firebase-tools版本为v4.0.0

The version of firebase-tools installed is v4.0.0

推荐答案

通过 https登录到您的Google Cloud Console.://console.cloud.google.com ,选择您的项目,然后从左侧列表中选择Cloud Functions.获得功能列表后,请单击标题行上的复选框以选择所有功能,然后单击工具栏中的删除"按钮.

Sign in to your Google Cloud Console at https://console.cloud.google.com, select your project, then from the list on the left pick Cloud Functions. When you get the list of functions, click the check box on the header line to select all, then the Delete button in the tool bar.

更新评论:

我不知道Firebase Console关于云功能的产品策略是什么.我的猜测是,它旨在提供简化,更方便的界面来管理与Firebase相关的云功能.Google Cloud Console提供了更丰富的功能集,用于管理功能和查看日志.您可以向Firebase提交功能请求,以将这些功能添加到Firebase控制台.这些链接提供了有关Firebase/Google Cloud关系的一些详细信息:

I don't know what the product strategy for Firebase Console is with regard to Cloud Functions. My guess is that it is intended to provide a simplified, more convenient interface for managing Firebase related cloud functions. The Google Cloud Console provides a richer set of capabilities for managing functions and viewing logs. You could submit a feature request to Firebase to get those capabilities added to the Firebase console. Some details on the Firebase/Google Cloud relationship are provided at these links:

https://stackoverflow.com/a/42859932/4815718

https://cloud.google.com/functions/docs/concepts/functions-and-firebase

这篇关于删除所有Firebase功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆