Skip to content

Commit

Permalink
setup:emulators:ui (firebase#3152)
Browse files Browse the repository at this point in the history
  • Loading branch information
mac2000 authored and devpeerapong committed Dec 14, 2021
1 parent bfa9158 commit ce8bd96
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ module.exports = function (client) {
client.setup.emulators.database = loadCommand("setup-emulators-database");
client.setup.emulators.firestore = loadCommand("setup-emulators-firestore");
client.setup.emulators.pubsub = loadCommand("setup-emulators-pubsub");
client.setup.emulators.ui = loadCommand("setup-emulators-ui");
client.target = loadCommand("target");
client.target.apply = loadCommand("target-apply");
client.target.clear = loadCommand("target-clear");
Expand Down
13 changes: 13 additions & 0 deletions src/commands/setup-emulators-ui.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"use strict";

const { Command } = require("../command");
const { Emulators } = require("../emulator/types");
const { downloadEmulator } = require("../emulator/download");

const NAME = Emulators.UI;

module.exports = new Command(`setup:emulators:${NAME}`)
.description(`downloads the ${NAME} emulator`)
.action((options) => {
return downloadEmulator(NAME);
});

0 comments on commit ce8bd96

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy