MCPcopy Index your code
hub / github.com/angular/angular-cli / usage

Function usage

packages/angular_devkit/architect/bin/architect.ts:44–60  ·  view source on GitHub ↗

* Show usage of the CLI tool, and exit the process.

(logger: logging.Logger, exitCode = 0)

Source from the content-addressed store, hash-verified

42 * Show usage of the CLI tool, and exit the process.
43 */
44function usage(logger: logging.Logger, exitCode = 0): never {
45 logger.info(tags.stripIndent`
46 architect [project][:target][:configuration] [options, ...]
47
48 Run a project target.
49 If project/target/configuration are not specified, the workspace defaults will be used.
50
51 Options:
52 --help Show available options for project target.
53 Shows this message instead when ran without the run argument.
54
55
56 Any additional option is passed the target, overriding existing options.
57 `);
58
59 return process.exit(exitCode);
60}
61
62async function _executeTarget(
63 parentLogger: logging.Logger,

Callers 1

mainFunction · 0.85

Calls 2

exitMethod · 0.80
infoMethod · 0.65

Tested by

no test coverage detected