Skip to content

Commit

Permalink
chore: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Apr 27, 2024
1 parent ddaa57a commit eae8a30
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,18 @@ editor.add('HOST', 'localhost')
await editor.save()
```

You can also insert an empty value for the `.env.example` file by setting the last argument to `true`.

```ts
editor.add('SECRET_VARIABLE', 'secret-value', true)
```

This will add the following line to the `.env.example` file.

```env
SECRET_VARIABLE=
```

## Known Exceptions

### E_INVALID_ENV_VARIABLES
Expand Down

0 comments on commit eae8a30

Please sign in to comment.