-
Notifications
You must be signed in to change notification settings - Fork 80
Functions
Here is a list of all available functions you can access through an instance of the DotenvEditor. For examples and more details see the detail page of each function.
Returns the current backup-directory.
Set the backup-directory for the current instance.
Checks, if a key exists or not.
Returns the value of the given key. If it does not exist, an exception is thrown.
Enable or disable auto-backups.
Check, if the auto-backup function is activated or not.
Create a backup of the currently active .env.
Restores a given backup.
Lists all available backups.
Returns the path to a given backup.
Deletes the given backup.
Returns the content of the given backup or the current .env.
Returns the content as JSON.
Change a value of the current .env.
Adds a new key-value-pair to your current .env.
Deletes a key-value-pair from your current .env.