MCPcopy Create free account
hub / github.com/angular/dev-infra / builder

Function builder

ng-dev/release/info/cli.ts:38–44  ·  view source on GitHub ↗

Yargs command builder for the `ng-dev release info` command.

(argv: Argv)

Source from the content-addressed store, hash-verified

36
37/** Yargs command builder for the `ng-dev release info` command. */
38function builder(argv: Argv): Argv<ReleaseInfoOptions> {
39 return argv.option('json', {
40 type: 'boolean',
41 description: 'Whether information should be written as JSON to stdout.',
42 default: false,
43 });
44}
45
46/** Yargs command handler for printing release information. */
47async function handler(argv: Arguments<ReleaseInfoOptions>) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected