Skip to content

Commit aa9b4a0

Browse files
committed
Fixed doc
1 parent 41151ea commit aa9b4a0

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/options/generate.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
# generate
22

3-
### Type: `string` | null
3+
### Type: null | `string`
44

5-
Add a suffix after all your types
6-
7-
## Exemples
5+
This command will start generation based on your `.sgtsrc.js` file.
86

97
```bash
108
sgts generate
119
```
1210

11+
```bash
12+
sgts generate <env?>
13+
```
14+
15+
## Exemples
16+
1317
```bash
1418
sgts generate testing
1519
```
1620

21+
::: tip
22+
The `generate` command will by default always load your `.env` and your `.env.development` file so you can use your environnement variables in your configuration file
23+
:::
24+
1725
See [Configuration file doc](https://sgts.netlify.com/configuration/config.html)

0 commit comments

Comments
 (0)