Skip to content

Commit c24dcf0

Browse files
Broccohansl
authored andcommitted
docs: update the directive blueprint docs
1 parent 9742652 commit c24dcf0

File tree

1 file changed

+63
-7
lines changed

1 file changed

+63
-7
lines changed

docs/documentation/generate/directive.md

Lines changed: 63 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,72 @@
66
`ng generate directive [name]` generates a directive
77

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

11-
`--export` Specifies if declaring module exports the component.
19+
<details>
20+
<summary>export</summary>
21+
<p>
22+
`--export` _default value: false_
23+
</p>
24+
<p>
25+
Specifies if declaring module exports the component.
26+
</p>
27+
</details>
1228

13-
`--flat` Flag to indicate if a dir is created.
29+
<details>
30+
<summary>flat</summary>
31+
<p>
32+
`--flat`
33+
</p>
34+
<p>
35+
Flag to indicate if a dir is created.
36+
</p>
37+
</details>
1438

15-
`--module` (`-m`) Allows specification of the declaring module.
39+
<details>
40+
<summary>module</summary>
41+
<p>
42+
`--module` (alias: `-m`)
43+
</p>
44+
<p>
45+
Allows specification of the declaring module.
46+
</p>
47+
</details>
1648

17-
`--prefix` Specifies whether to use the prefix.
49+
<details>
50+
<summary>prefix</summary>
51+
<p>
52+
`--prefix`
53+
</p>
54+
<p>
55+
Specifies whether to use the prefix.
56+
</p>
57+
</details>
1858

19-
`--skip-import` Allows for skipping the module import.
59+
<details>
60+
<summary>skip-import</summary>
61+
<p>
62+
`--skip-import`
63+
</p>
64+
<p>
65+
Allows for skipping the module import.
66+
</p>
67+
</details>
2068

21-
`--spec` Specifies if a spec file is generated.
69+
<details>
70+
<summary>spec</summary>
71+
<p>
72+
`--spec`
73+
</p>
74+
<p>
75+
Specifies if a spec file is generated.
76+
</p>
77+
</details>

0 commit comments

Comments
 (0)