UNPKG

799 BJavaScriptView Raw
1"use strict";
2// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3// See LICENSE in the project root for license information.
4Object.defineProperty(exports, "__esModule", { value: true });
5const os = require("os");
6const colors = require("colors");
7const ApiExtractorCommandLine_1 = require("./cli/ApiExtractorCommandLine");
8const Extractor_1 = require("./api/Extractor");
9console.log(os.EOL +
10 colors.bold(`api-extractor ${Extractor_1.Extractor.version} ` + colors.cyan(' - https://api-extractor.com/') + os.EOL));
11const parser = new ApiExtractorCommandLine_1.ApiExtractorCommandLine();
12parser.execute().catch((error) => {
13 console.error(colors.red(`An unexpected error occurred: ${error}`));
14 process.exit(1);
15});
16//# sourceMappingURL=start.js.map
\No newline at end of file