No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ext-list.js 995B

123456789101112131415161718
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.command = void 0;
  4. const checkMinRequiredVersion_1 = require("../checkMinRequiredVersion");
  5. const command_1 = require("../command");
  6. const projectUtils_1 = require("../projectUtils");
  7. const listExtensions_1 = require("../extensions/listExtensions");
  8. const extensionsHelper_1 = require("../extensions/extensionsHelper");
  9. const requirePermissions_1 = require("../requirePermissions");
  10. exports.command = new command_1.Command("ext:list")
  11. .description("list all the extensions that are installed in your Firebase project")
  12. .before(requirePermissions_1.requirePermissions, ["firebaseextensions.instances.list"])
  13. .before(extensionsHelper_1.ensureExtensionsApiEnabled)
  14. .before(checkMinRequiredVersion_1.checkMinRequiredVersion, "extMinVersion")
  15. .action((options) => {
  16. const projectId = (0, projectUtils_1.needProjectId)(options);
  17. return (0, listExtensions_1.listExtensions)(projectId);
  18. });