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

Function handler

ng-dev/release/recover-ci-publish/cli.ts:44–56  ·  view source on GitHub ↗

Yargs command handler for recovering a CI publish run.

(args: Arguments<ReleaseRecoverCiPublishOptions>)

Source from the content-addressed store, hash-verified

42
43/** Yargs command handler for recovering a CI publish run. */
44async function handler(args: Arguments<ReleaseRecoverCiPublishOptions>) {
45 const git = await AuthenticatedGitClient.get();
46 const config = await getConfig();
47 assertValidReleaseConfig(config);
48 assertValidGithubConfig(config);
49
50 const tool = new ReleaseRecoverCiPublishTool(git, config.release, config.github, args.runId, {
51 dryRun: args.dryRun,
52 publishRegistry: args.publishRegistry,
53 });
54
55 await tool.run();
56}
57
58/** CLI command module for recovering a failed GHA publish run locally. */
59export const ReleaseRecoverCiPublishCommandModule: CommandModule<

Callers

nothing calls this directly

Calls 5

runMethod · 0.95
getConfigFunction · 0.85
assertValidReleaseConfigFunction · 0.85
assertValidGithubConfigFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected