Skip to content

Commit 4025d3c

Browse files
Broccohansl
authored andcommitted
docs: update the guard blueprint docs
1 parent 01b3df9 commit 4025d3c

File tree

1 file changed

+35
-4
lines changed

1 file changed

+35
-4
lines changed

docs/documentation/generate/guard.md

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,41 @@
44
`ng generate guard [name]` generates a guard
55

66
## Options
7-
`--app` Specifies app name or index to use.
7+
<details>
8+
<summary>app</summary>
9+
<p>
10+
`--app` (alias: `-a`) _default value: 1st app_
11+
</p>
12+
<p>
13+
Specifies app name to use.
14+
</p>
15+
</details>
816

9-
`--flat` Indicate if a dir is created.
17+
<details>
18+
<summary>flat</summary>
19+
<p>
20+
`--flat`
21+
</p>
22+
<p>
23+
Indicate if a dir is created.
24+
</p>
25+
</details>
1026

11-
`--module` (`-m`) Allows specification of the declaring module.
27+
<details>
28+
<summary>module</summary>
29+
<p>
30+
`--module` (alias: `-m`)
31+
</p>
32+
<p>
33+
</p>
34+
</details>
1235

13-
`--spec` Specifies if a spec file is generated.
36+
<details>
37+
<summary>spec</summary>
38+
<p>
39+
`--spec`
40+
</p>
41+
<p>
42+
Specifies if a spec file is generated.
43+
</p>
44+
</details>

0 commit comments

Comments
 (0)