Skip to content

Commit eea6f2d

Browse files
Broccohansl
authored andcommitted
docs: update the new command docs
1 parent 226ade7 commit eea6f2d

File tree

1 file changed

+139
-29
lines changed

1 file changed

+139
-29
lines changed

docs/documentation/new.md

Lines changed: 139 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,142 @@
88
Default applications are created in a directory of the same name, with an initialized Angular application.
99

1010
## Options
11-
`--directory` (`-dir`) The directory name to create the app in.
12-
13-
`--dry-run` (`-d`) Run through without making any changes.
14-
15-
`--inline-style` (`is`) Should have an inline style.
16-
17-
`--inline-template` (`it`) Should have an inline template.
18-
19-
`--link-cli` Automatically link the `@angular/cli` package.
20-
21-
`--ng4` Create a project with Angular 4 in the template.
22-
23-
`--prefix` (`p`) The prefix to use for all component selectors.
24-
25-
`--routing` Generate a routing module.
26-
27-
`--skip-commit` Skip committing the first commit to git.
28-
29-
`--skip-git` (`-sg`) Skip initializing a git repository.
30-
31-
`--skip-install` (`-si`) Skip installing packages.
32-
33-
`--skip-tests` Skip creating spec files.
34-
35-
`--source-dir` (`-sd`) The name of the source directory.
36-
37-
`--style` The style file default extension.
38-
39-
`--verbose` Adds more details to output logging.
11+
<details>
12+
<summary>directory</summary>
13+
<p>
14+
`--directory` (alias: `-dir`) _default value: dir_
15+
</p>
16+
<p>
17+
The directory name to create the app in.
18+
</p>
19+
</details>
20+
21+
<details>
22+
<summary>dry-run</summary>
23+
<p>
24+
`--dry-run` (alias: `-d`) _default value: false_
25+
</p>
26+
<p>
27+
Run through without making any changes.
28+
</p>
29+
</details>
30+
31+
<details>
32+
<summary>inline-style</summary>
33+
<p>
34+
`--inline-style` (alias: `-is`) _default value: false_
35+
</p>
36+
<p>
37+
Should have an inline style.
38+
</p>
39+
</details>
40+
41+
<details>
42+
<summary>inline-template</summary>
43+
<p>
44+
`--inline-template` (alias: `-it`) _default value: false_
45+
</p>
46+
<p>
47+
Should have an inline template.
48+
</p>
49+
</details>
50+
51+
<details>
52+
<summary>ng4</summary>
53+
<p>
54+
`--ng4` _default value: false_
55+
</p>
56+
<p>
57+
Create a project with Angular 4 in the template.
58+
</p>
59+
</details>
60+
61+
<details>
62+
<summary>prefix</summary>
63+
<p>
64+
`--prefix` (alias: `-p`) _default value: app_
65+
</p>
66+
<p>
67+
The prefix to use for all component selectors.
68+
</p>
69+
</details>
70+
71+
<details>
72+
<summary>routing</summary>
73+
<p>
74+
`--routing` _default value: false_
75+
</p>
76+
<p>
77+
Generate a routing module.
78+
</p>
79+
</details>
80+
81+
<details>
82+
<summary>skip-commit</summary>
83+
<p>
84+
`--skip-commit` (alias: `-sc`) _default value: false_
85+
</p>
86+
<p>
87+
Skip committing the first commit to git.
88+
</p>
89+
</details>
90+
91+
<details>
92+
<summary>skip-git</summary>
93+
<p>
94+
`--skip-git` (alias: `-sg`) _default value: false_
95+
</p>
96+
<p>
97+
Skip initializing a git repository.
98+
</p>
99+
</details>
100+
101+
<details>
102+
<summary>skip-install</summary>
103+
<p>
104+
`--skip-install` (alias: `-si`) _default value: false_
105+
</p>
106+
<p>
107+
Skip installing packages.
108+
</p>
109+
</details>
110+
111+
<details>
112+
<summary>skip-tests</summary>
113+
<p>
114+
`--skip-tests` (alias: `-st`) _default value: false_
115+
</p>
116+
<p>
117+
Skip creating spec files.
118+
</p>
119+
</details>
120+
121+
<details>
122+
<summary>source-dir</summary>
123+
<p>
124+
`--source-dir` (alias: `-sd`) _default value: src_
125+
</p>
126+
<p>
127+
The name of the source directory.
128+
</p>
129+
</details>
130+
131+
<details>
132+
<summary>style</summary>
133+
<p>
134+
`--style` _default value: css_
135+
</p>
136+
<p>
137+
The style file default extension.
138+
</p>
139+
</details>
140+
141+
<details>
142+
<summary>verbose</summary>
143+
<p>
144+
`--verbose` (alias: `-v`) _default value: false_
145+
</p>
146+
<p>
147+
Adds more details to output logging.
148+
</p>
149+
</details>

0 commit comments

Comments
 (0)