Skip to content

Commit

Permalink
Merge pull request #13 from saulmaldonado/docs-patch
Browse files Browse the repository at this point in the history
Adds new defaults option to docs
  • Loading branch information
saulmaldonado authored Oct 9, 2020
2 parents eae8956 + dc9fed1 commit 2e0bca3
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@ yarn dlx dotenv-types-generator -f [path/to/file/.env]

## Options

| | flag | alias | default value |
| --------------------------------------: | ---------------------------- | ------------------------ | ------------- |
| **Path to .env file** | `--file [path/to/file/.env]` | `-f [path/to/file/.env]` | `./.env` |
| **Optional/Nullable Types** | `--optionalTypes` | `-o` | `false` |
| **Merge with existing `env.d.ts` file** | `--mergeTypes` | `-m` | `false` |
| **File Indentation Size (spaces)** | `--indentationSize` | `-i` | `2` |
| **version** | `--version` | `-v` | |
| **help** | `--help` | `-h` | |
| | flag | alias | default value |
| -------------------------------------------: | ------------------------------ | ---------------------- | ------------- |
| **Path to .env file** | `--file path/to/file/.env` | `-f path/to/file/.env` | `./.env` |
| **Optional/Nullable Types** | `--optionalTypes` | `-o` | `false` |
| **Merge with existing `env.d.ts` file** | `--mergeTypes` | `-m` | `false` |
| **Include project's default env properties** | `--defaults PROP1 PROP2 PROP3` | `-d PROP1 PROP2 PROP3` | |
| **File Indentation Size (spaces)** | `--indentationSize` | `-i` | `2` |
| **version** | `--version` | `-v` | |
| **help** | `--help` | `-h` | |

## Development installation

Expand Down

0 comments on commit 2e0bca3

Please sign in to comment.