File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ module.exports = function (client) {
120
120
client . setup . emulators . database = loadCommand ( "setup-emulators-database" ) ;
121
121
client . setup . emulators . firestore = loadCommand ( "setup-emulators-firestore" ) ;
122
122
client . setup . emulators . pubsub = loadCommand ( "setup-emulators-pubsub" ) ;
123
+ client . setup . emulators . ui = loadCommand ( "setup-emulators-ui" ) ;
123
124
client . target = loadCommand ( "target" ) ;
124
125
client . target . apply = loadCommand ( "target-apply" ) ;
125
126
client . target . clear = loadCommand ( "target-clear" ) ;
Original file line number Diff line number Diff line change
1
+ "use strict" ;
2
+
3
+ const { Command } = require ( "../command" ) ;
4
+ const { Emulators } = require ( "../emulator/types" ) ;
5
+ const { downloadEmulator } = require ( "../emulator/download" ) ;
6
+
7
+ const NAME = Emulators . UI ;
8
+
9
+ module . exports = new Command ( `setup:emulators:${ NAME } ` )
10
+ . description ( `downloads the ${ NAME } emulator` )
11
+ . action ( ( options ) => {
12
+ return downloadEmulator ( NAME ) ;
13
+ } ) ;
You can’t perform that action at this time.
0 commit comments