1 | "use strict";
|
2 |
|
3 |
|
4 | Object.defineProperty(exports, "__esModule", { value: true });
|
5 | const os = require("os");
|
6 | const colors = require("colors");
|
7 | const ApiExtractorCommandLine_1 = require("./cli/ApiExtractorCommandLine");
|
8 | const Extractor_1 = require("./api/Extractor");
|
9 | console.log(os.EOL +
|
10 | colors.bold(`api-extractor ${Extractor_1.Extractor.version} ` + colors.cyan(' - https://api-extractor.com/') + os.EOL));
|
11 | const parser = new ApiExtractorCommandLine_1.ApiExtractorCommandLine();
|
12 | parser.execute().catch((error) => {
|
13 | console.error(colors.red(`An unexpected error occurred: ${error}`));
|
14 | process.exit(1);
|
15 | });
|
16 |
|
\ | No newline at end of file |