Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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. });