Skip to content

Commit b4cc2ac

Browse files
Remove reference to old functionality
1 parent 8e55100 commit b4cc2ac

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

README.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -172,29 +172,6 @@ current environment settings. By invoking the program `env` in place
172172
of `myprogram` above you can see what the environment will look like
173173
after evaluating multiple Dotenv files.
174174

175-
The `--schema FILE` will get the envs configuration from the `FILE`. For instance:
176-
177-
```shell
178-
$ cat .env
179-
PORT=123a
180-
$ cat .schema.yml
181-
- name: PORT
182-
required: true
183-
type: integer
184-
```
185-
186-
running `dotenv` will throw:
187-
188-
```shell
189-
$ dotenv -s .schema.yml "echo $PORT"
190-
dotenv: 1:4:
191-
unexpected 'a'
192-
expecting digit or end of input
193-
```
194-
195-
**NOTE:** The flag can be omited when the `.schema.yml` is in the current working
196-
directory. To disable type checking add the flag `--no-schema`.
197-
198175
## Author
199176

200177
Justin Leitgeb

0 commit comments

Comments
 (0)