UNPKG

882 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 node_core_library_1 = require("@rushstack/node-core-library");
8const ApiDocumenterCommandLine_1 = require("./cli/ApiDocumenterCommandLine");
9const myPackageVersion = node_core_library_1.PackageJsonLookup.loadOwnPackageJson(__dirname).version;
10console.log(os.EOL +
11 colors.bold(`api-documenter ${myPackageVersion} ` + colors.cyan(' - https://api-extractor.com/') + os.EOL));
12const parser = new ApiDocumenterCommandLine_1.ApiDocumenterCommandLine();
13parser.execute().catch(console.error); // CommandLineParser.execute() should never reject the promise
14//# sourceMappingURL=start.js.map
\No newline at end of file