import * as os from 'os' ; import colors from 'colors' ; import { PackageJsonLookup } from '@rushstack/node-core-library' ; import { ApiDocumenterCommandLine } from './cli/ApiDocumenterCommandLine' ; const myPackageVersion = PackageJsonLookup . loadOwnPackageJson ( __dirname ) . version ; console . log ( os . EOL + colors . bold ( `api-documenter ${ myPackageVersion } ` + colors . cyan ( ' - https://api-extractor.com/' ) + os . EOL ) ) ; const parser = new ApiDocumenterCommandLine ( ) ; parser . execute ( ) . catch ( console . error ) ;