Skip to content

Commit 2cb76c6

Browse files
committed
docs: add markdown description for the generate command
1 parent 77b23b7 commit 2cb76c6

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<% if (isJekyll) { %>---
2+
title: tns generate
3+
position: 9
4+
---<% } %>
5+
# tns generate
6+
7+
8+
Usage | Synopsis
9+
------|-------
10+
General | `$ tns generate <Schematic Name> [--collection <Collection>] [option=value]`
11+
12+
Modifies the project by executing a specified schematic to it.
13+
14+
### Options
15+
* `--collection` - specifies the node package to be used as schematics collection. If it's not specified, `@nativescript/schematics` will be used.
16+
17+
### Attributes
18+
* `<Schematic Name>` - name of the schematic to be executed. The schematic should be specified in the used collection.
19+
* `<option=value>` - options for executed schematic.
20+
21+
<% if(isHtml) { %>
22+
### Related Commands
23+
24+
Command | Description
25+
----------|----------
26+
[update](update.md) | Updates a NativeScript project to the latest (or specified) version.
27+
[resources generate icons](resources-generate-icons.md) | Generates icons for Android and iOS.
28+
[resources generate splashes](resources-generate-splashes.md) | Generates splashscreens for Android and iOS.

0 commit comments

Comments
 (0)