Sin descripción
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.

functions-shell.js 847B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.command = void 0;
  4. const command_1 = require("../command");
  5. const requirePermissions_1 = require("../requirePermissions");
  6. const functionsShellCommandAction_1 = require("../functionsShellCommandAction");
  7. const requireConfig_1 = require("../requireConfig");
  8. const commandUtils_1 = require("../emulator/commandUtils");
  9. exports.command = new command_1.Command("functions:shell")
  10. .description("launch full Node shell with emulated functions")
  11. .option("-p, --port <port>", "the port on which to emulate functions")
  12. .option(commandUtils_1.FLAG_INSPECT_FUNCTIONS, commandUtils_1.DESC_INSPECT_FUNCTIONS)
  13. .before(requireConfig_1.requireConfig)
  14. .before(requirePermissions_1.requirePermissions)
  15. .action(functionsShellCommandAction_1.actionFunction);