如何了解 Firebase 工具的当前版本

2024-04-09

在 node.js 命令提示符下,使用:

$ firebase help

给出这个列表:

Usage: firebase [options] [command]

Options:
--------


 - -V, --version - output the version number
 - -P, --project <alias_or_project_id> - the Firebase project to use for this command
 - -j, --json - output JSON instead of text, also triggers non-interactive mode   --token <token> - supply an auth token for
   this command
 - --non-interactive - error out of the command instead of waiting for prompts
 - --interactive - force interactive shell treatment even when not detected
 - --debug - print verbose debug output and keep a debug log file
 - -h, --help - output usage information

Commands:
---------

 - auth:import [options] [dataFile]           import users into your
   Firebase project from a data file(.csv or .json)
 - auth:export [options] [dataFile]           Export accounts from your
   Firebase project into a data file
 - database:get [options] <path>              fetch and print JSON data
   at the specified path
 - database:push [options] <path> [infile]    add a new JSON object to a
   list of data in your Firebase
 - database:set [options] <path> [infile]     store JSON data at the
   specified path via STDIN, arg, or file
 - database:remove [options] <path>           remove data from your
   Firebase at the specified path
 - database:update [options] <path> [infile]  update some of the keys
   for the defined path in your Firebase
 - database:profile [options]                 profile the Realtime
   Database and generate a usage report
 - firestore:delete [options] [path]          Delete data from Cloud
   Firestore.
 - firestore:indexes [options]                List indexes in your
   project's Cloud Firestore database.
 - deploy [options]                           deploy code and assets to
   your Firebase project
 - hosting:disable [options]                  stop serving web traffic
   to your Firebase Hosting site
 - functions:log [options]                    read logs from deployed
   functions
 - functions:shell [options]                  launch full Node shell
   with emulated functions
 - functions:config:clone [options]           clone environment config
   from another project
 - functions:config:get [path]                fetch environment config
   stored at the given path
 - functions:config:set [values...]           set environment config
   with key=value syntax
 - functions:config:unset [keys...]           unset environment config
   at the specified path(s)
 - functions:delete [options] [filters...]    delete one or more Cloud
   Functions by name or group name.
 - experimental:functions:shell [options]     launch full Node shell
   with emulated functions. (Alias for `firebase functions:shell.)
 - help [command]                             display help information
 - init [feature]                             setup a Firebase project
   in the current directory
 - list                                       list the Firebase projects
   you have access to
 - login [options]                            log the CLI into Firebase
 - login:ci [options]                         generate an access token
   for use in non-interactive environments
 - logout                                     log the CLI out of
   Firebase
 - open [link]                                quickly open a browser to
   relevant project resources
 - serve [options]                            start a local server for
   your static assets
 - setup:web                                  display this project's
   setup information for the Firebase JS SDK
 - setup:emulators:database                   downloads the database
   emulator
 - setup:emulators:firestore                  downloads the firestore
   emulator
 - target [type]                              display configured deploy
   targets for the current project
 - target:apply <type> <name> <resources...>  apply a deploy target to a
   resource
 - target:clear <type> <target>               clear all resources from a
   named resource target
 - target:remove <type> <resource>            remove a resource target
 - tools:migrate [options]                    ensure your firebase.json
   format is up to date
 - use [options] [alias_or_project_id]        set an active Firebase
   project for your working directory

要获取特定命令的帮助,请输入 firebase help [command_name]

$ firebase -V

给出了版本号,但我不知道这是否是Firebase Tools的版本号。

工具的唯一命令是:

工具:迁移[选项]

即: 确保您的 firebase.json 格式是最新的

如何获取当前版本的 Firebase 工具?


尝试运行:

 firebase tools --version
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何了解 Firebase 工具的当前版本 的相关文章

随机推荐

  • 观察非 ember 全局变量

    我想要一个计算属性来观察非 ember 全局 localStorage 中的特定键 这可能吗 以下似乎并没有削减它 someProperty function some functionality property localStorage
  • 有没有办法忽略文本文件中某些行的读取?

    我正在尝试读取 C 应用程序中的文本文件 但我不想读取前两行或最后一行 文件中有 8 行 所以实际上我只想读取第 3 4 5 6 和 7 行 有什么办法可以做到这一点吗 示例文件 USE Shelley s Other Database C
  • 膨胀类 CollapsingToolbarLayout 时出错

    我的 CollapsingToolbarLayout 由于错误膨胀类 android support design widget CollapsingToolbarLayout 而崩溃 我上周末更新了android studio 更新之前
  • 如何删除firebase中具有指定标题的特定记录

    我在 Web 应用程序中使用 Firebase 数据库 并且有这样的数据 如何删除标题中包含 Apple 的整个记录 图中标记 我写了下面的代码 但它不起作用 请帮助 var abc firebase database ref fireba
  • 如何使用 Selenium Server 2.20 获取执行服务器名称或地址

    使用 Selenium Server 时 记录实际执行 selenium 脚本的计算机的名称非常有用 是否可以获得该信息 我正在使用 C 绑定 但用任何语言回答都可以 我们应该知道 Selenium 服务器在哪里运行 这是Java代码 我们
  • Android 应用内结算可用产品列表

    是否可以通过某种方式从 Play 商店获取所有可用产品的列表 我想要做的是获取所有可用的项目 然后将它们显示在 ListView 中 每当有人点击 ListView 时 就会在 Google Play 商店中打开正确的项目 那可能吗 如果是
  • 仅当其中一个流发生更改时,combineLatest 才会发出

    我有一个具有频繁值的流和一个具有较慢值的流 我想将它们组合起来 但仅当较慢的发出时才发出一个值 所以combineLatest不起作用 就像这样 a1 a2 b1 a2 b1 a3 a4 a5 b2 a5 b2 目前我正在这样做 有没有更干
  • 针对大型文件夹的并行 tar 和分割

    我有一个非常大的文件夹 我想对其进行 gzip 压缩并拆分以进行存档 bin bash dir 1 name 2 size 32000m tar czf dev stdout dir split a 5 d b size name 有没有办
  • 将列联表从 R 导出到 Excel 的最有效方法

    我正在 R 中创建一些列联表 交叉表 我想将其移动到 Excel 以在 Word 文档中使用 我发现了关于如何在几个问题中表现出色的讨论 如何将多元预测结果从 R 导出到 Excel https stackoverflow com ques
  • 在特定版本中测试 python 脚本

    我目前在我的 Mac 上安装了 Python 2 6 2 我正在编写一个必须在 Python 2 5 2 上运行的脚本 所以我想编写一个 python 脚本 并且测试专门针对 2 5 2 而不是 2 6 2 我正在查看 virtualenv
  • 不弹出标准对话框

    我有一个带有 TSaveDialog 的表单 当调用 Execute 函数时 从 IDE 运行时它不会弹出 它does独立运行时弹出 进一步测试后 我发现所有 TSave TOpen 对话框都不起作用 不工作意味着 Execute 返回Fa
  • 有没有办法让图像通过 ASP.NET 和 app_offline.htm 显示?

    当使用ASP NET的app offline htm功能时 它只允许html 但不允许图像 有没有办法让图像显示无需将他们指向另一个网站上的不同网址 是的 它只是不能来自具有 app offline htm 文件的网站 该图像必须托管在其他
  • 如何向 Symfony/Monolog 日志输出添加附加信息(主机、URL 等)?

    我正在开发我的第一个基于 Symfony 的 WebApp 项目 我已将 Symfony 配置为不仅将日志消息写入不同的日志文件 而且还立即以电子邮件形式发送关键错误消息 这很好用 不过 我想在默认日志消息中添加一些附加信息 以便更轻松地找
  • 是否可以在从模板扩展的天蓝色管道 yml 中使用变量?

    我们正在使用扩展功能以安全的方式重用管道中的模板 为了更轻松地定义模板的参数 我想使用变量 但我觉得这是不可能的 但由于我在官方文档中找不到答案 所以我在这一轮中询问 我的 yml 文件如下所示 name Date yyyyMMdd Rev
  • 在 OSmnx 中将街道划分为更小的路段

    是否可以在 OSmnx 中将街道段划分为更小的部分 例如 假设我们要将一条街道划分为 10 米的路段或将一条街道划分为 10 个相等的部分 G ox graph from place Piedmont California USA netw
  • 通过 VPN 连接到 Flask 应用程序

    我是 Flask 新手 如果问题听起来微不足道 请不要介意 我有一个 Flask 应用程序 不是我编写的 当我直接连接到网络时 它可以在本地计算机和远程计算机上正常工作 但是当我通过 VPN 连接到该应用程序时 它不起作用 我可以在那台机器
  • 如何更改 Ember 中的查询参数?

    我正在编写一个动作处理程序route application actions changeFoo foo I want to change the fooId queryParam to foo get id 问题是我能找到的唯一记录的更改
  • 如何杀死Postgresql中的空闲连接?

    我正在使用 java servlet 和 pgadmin 9 1 问题是 servlet 中的连接未正确关闭 因此如果达到最大连接 它会导致空白屏幕 我不希望每个用户都扩展 pgadmin 中的最大连接 i在 servlet 的起始点和结束
  • 多重继承的机制与构建灵活设计的模板相比

    这是一个更窄的版本question https stackoverflow com questions 32549573 understanding the exposition of alexandrescu about the weak
  • 如何了解 Firebase 工具的当前版本

    在 node js 命令提示符下 使用 firebase help 给出这个列表 Usage firebase options command Options V version output the version number P pr