Skip to content

Commit

Permalink
docs(angular): change --defaults to --no-interactive (#9376)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
juri-sinitson committed Mar 18, 2022
1 parent b3914bd commit 36aa5ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/shared/guides/misc-ngrx.md
Expand Up @@ -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 <featurename> --module=<path-to-module> --defaults [options]
nx g @nrwl/angular:ngrx <featurename> --module=<path-to-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:

Expand Down Expand Up @@ -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.
Expand Down

1 comment on commit 36aa5ce

@vercel
Copy link

@vercel vercel bot commented on 36aa5ce Mar 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.