【发布时间】:2020-11-02 13:05:32
【问题描述】:
我正在寻找一个 CLI 命令来自动创建多个网站:
看起来有 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 工具的源代码中也找不到相关的托管命令。有什么想法吗?
【问题讨论】:
标签: firebase firebase-hosting firebase-cli