通过CLI创建Firebase“多个网站”

问题描述

我正在寻找一个CLI命令来自动创建多个网站:

Multiple websites via GUI

似乎有CLI托管支持,但这仅限于“预览频道”:

hosting:channel:create [options] [channelId]              create a Firebase Hosting channel
hosting:channel:delete [options] <channelId>              delete a Firebase Hosting channel
hosting:channel:deploy [options] [channelId]              deploy to a specific Firebase Hosting channel
hosting:channel:list [options]                            list all Firebase Hosting channels for your project
hosting:channel:open [options] [channelId]                opens the URL for a Firebase Hosting channel
hosting:clone <source> <targetChannel>                    clone a version from one site to another
hosting:disable [options]                                 stop serving web traffic to your Firebase Hosting site

https://github.com/firebase/firebase-tools/tree/master/src/commands

在Firebase工具的源代码中也找不到相关的托管命令。有什么想法吗?

解决方法

adding additional sites上的文档看来,现在仅通过Firebase控制台支持添加网站。

我建议在Github存储库上提交功能请求。