From 36aa5ce5fba1f7a642855d8f1e631d5ee238adcf Mon Sep 17 00:00:00 2001 From: Juri Sinitson Date: Fri, 18 Mar 2022 20:28:16 +0100 Subject: [PATCH] docs(angular): change --defaults to --no-interactive (#9376) When using the flag `--defaults` I get `Use --no-interactive instead of --defaults. The --defaults option will be removed in Nx 13` although I'm already using Nx 13.7.1. When using `--no-interactive`, no message is showing up. --- docs/shared/guides/misc-ngrx.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/shared/guides/misc-ngrx.md b/docs/shared/guides/misc-ngrx.md index 8154690672b84..d85898299174e 100644 --- a/docs/shared/guides/misc-ngrx.md +++ b/docs/shared/guides/misc-ngrx.md @@ -24,10 +24,10 @@ The `ngrx` schematic generates an NgRx feature set containing the following file The following command is used to run the `ngrx` schematic: ```bash -nx g @nrwl/angular:ngrx --module= --defaults [options] +nx g @nrwl/angular:ngrx --module= --no-interactive [options] ``` -> Note: the `name` and the `--module=` arguments are required. The `defaults` option chooses the recommended defaults for the schematic, unless you override them. +> Note: the `name` and the `--module=` arguments are required. The `no-interactive` option chooses the recommended defaults for the schematic, unless you override them. The most common additional options are: @@ -75,7 +75,7 @@ To manage the feature state: - Provide a path to the `products` library module. ```bash -nx g @nrwl/angular:ngrx products --module=libs/products/src/lib/products.module.ts --directory +state/products --defaults +nx g @nrwl/angular:ngrx products --module=libs/products/src/lib/products.module.ts --directory +state/products --no-interactive ``` > Use the `--facade` option to generate an injectable Facade class along with the feature.