From dc9fed1f0f9cf117406a3abe2fe7cf449c678206 Mon Sep 17 00:00:00 2001 From: Saul Maldonado Date: Fri, 9 Oct 2020 09:31:12 -0500 Subject: [PATCH] docs: add defaults option to README --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a23c31f..409647e 100644 --- a/README.md +++ b/README.md @@ -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