Skip to content

Commit 234656f

Browse files
committed
Updated readme.
1 parent b91925c commit 234656f

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/msamgan/laravel-env-keys-checker/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/msamgan/laravel-env-keys-checker/actions?query=workflow%3Arun-tests+branch%3Amain)
77
[![Total Downloads](https://img.shields.io/packagist/dt/msamgan/laravel-env-keys-checker.svg?style=flat-square)](https://packagist.org/packages/msamgan/laravel-env-keys-checker)
88

9-
This package checks if all the keys are available across all the .env files. This package is useful when you have multiple .env files and want to ensure all the keys are available across all the .env files.
9+
This package checks if all the keys are available across all the .env files. This package is useful when you have
10+
multiple .env files and want to ensure all the keys are available across all the .env files.
1011

1112
With a team of developers, it is possible that some developers might forget to add the keys they used in their .env file
1213
to the .env.example file or the other way around.
@@ -17,6 +18,7 @@ to the .env.example file or the other way around.
1718
- [Installation](#installation)
1819
- [Usage](#usage)
1920
- [To check if all the keys are available across all the .env files.](#to-check-if-all-the-keys-are-available-across-all-the-env-files)
21+
- [Options](#options)
2022
- [To check if the .env and other provided files are present in .gitignore.](#to-check-if-the-env-and-other-provided-files-are-present-in-gitignore)
2123
- [In Test](#in-test)
2224
- [To check if all the keys are available across all the .env files.](#to-check-if-all-the-keys-are-available-across-all-the-env-files-1)
@@ -62,11 +64,14 @@ php artisan vendor:publish --tag="env-keys-checker-config"
6264
php artisan env:keys-check
6365
```
6466

65-
### To check if all the keys are available across all the .env files but without progress bar.
67+
#### Options
6668

67-
```bash
68-
php artisan env:keys-check --no-progress
69-
```
69+
``--auto-add``: This option will add the missing keys to the .env files automatically.
70+
The possible values are ``ask``,
71+
``auto``, and ``none``.
72+
The default value is ``ask``.
73+
74+
``--no-progress``: This option will disable the progress bar.
7075

7176
### To check if the .env and other provided files are present in .gitignore.
7277

0 commit comments

Comments
 (0)