From f7d538903aa912ead7a13cbd7b23b79044257110 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Fri, 15 Dec 2023 11:54:52 +0000 Subject: [PATCH] fix(@angular/cli): re-add `-d` alias for `--dry-run` This got accidentally deleted during the transition to yargs. Closes #26496 --- .../angular/cli/src/command-builder/schematics-command-module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/angular/cli/src/command-builder/schematics-command-module.ts b/packages/angular/cli/src/command-builder/schematics-command-module.ts index 9ce50e3c98cc..f04a028363a3 100644 --- a/packages/angular/cli/src/command-builder/schematics-command-module.ts +++ b/packages/angular/cli/src/command-builder/schematics-command-module.ts @@ -64,6 +64,7 @@ export abstract class SchematicsCommandModule .option('dry-run', { describe: 'Run through and reports activity without writing out results.', type: 'boolean', + alias: ['d'], default: false, }) .option('defaults', {