MCPcopy Create free account
hub / github.com/angular/angular / mainXi18n

Function mainXi18n

packages/compiler-cli/src/extract_i18n.ts:19–25  ·  view source on GitHub ↗
(
  args: string[],
  consoleError: (msg: string) => void = console.error,
)

Source from the content-addressed store, hash-verified

17import * as api from './transformers/api';
18
19export function mainXi18n(
20 args: string[],
21 consoleError: (msg: string) => void = console.error,
22): number {
23 const config = readXi18nCommandLineAndConfiguration(args);
24 return main(args, consoleError, config, undefined, undefined, undefined);
25}
26
27function readXi18nCommandLineAndConfiguration(args: string[]): ParsedConfiguration {
28 const options: api.CompilerOptions = {};

Callers 3

driveXi18nMethod · 0.90
ng_xi18n.tsFile · 0.90

Calls 2

mainFunction · 0.90

Tested by

no test coverage detected