Files
powerpoint-toolbox/node_modules/office-addin-node-debugger/lib/cli.js
T
2025-03-07 19:22:02 +01:00

19 lines
821 B
JavaScript

#!/usr/bin/env node
"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// Copyright (c) 2015-present, Facebook, Inc.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
Object.defineProperty(exports, "__esModule", { value: true });
const commander_1 = require("commander");
const debugger_1 = require("./debugger");
/* global process */
const commander = new commander_1.Command();
commander
.option("-h, --host <host>", "The hostname where the packager is running.")
.option("-p, --port <port>", "The port where the packager is running.")
.parse(process.argv);
const options = commander.opts();
(0, debugger_1.run)(options.host, options.port);
//# sourceMappingURL=cli.js.map