Skip to content

Commit f2241a8

Browse files
Broccohansl
authored andcommitted
docs: update the service blueprint docs
1 parent da371bf commit f2241a8

File tree

1 file changed

+36
-4
lines changed

1 file changed

+36
-4
lines changed

docs/documentation/generate/service.md

+36-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,42 @@
66
`ng generate service [name]` generates a service
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-
`--flat` Flag to indicate if a dir is created.
19+
<details>
20+
<summary>flat</summary>
21+
<p>
22+
`--flat`
23+
</p>
24+
<p>
25+
Flag to indicate if a dir is created.
26+
</p>
27+
</details>
1228

13-
`--module` (`-m`) Allows you to specify the module where the service should be provided
29+
<details>
30+
<summary>module</summary>
31+
<p>
32+
`--module` (alias: `-m`)
33+
</p>
34+
<p>
35+
Allows you to specify the module where the service should be provided
36+
</p>
37+
</details>
1438

15-
`--spec` Specifies if a spec file is generated.
39+
<details>
40+
<summary>spec</summary>
41+
<p>
42+
`--spec`
43+
</p>
44+
<p>
45+
Specifies if a spec file is generated.
46+
</p>
47+
</details>

0 commit comments

Comments
 (0)