From 2612813c541e73a7ea1562c6c31313b2585687dd 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', {