@lokalise/script-utils
v1.1.1
Published
# Usage
Downloads
7,893
Maintainers
Keywords
Readme
Script utils
Usage
Syncing vault secrets with .env file
//sync-with-vault.ts
import { synchronizeEnvFileWithVault } from '@lokalise/script-utils'
//Use this function to sync .env file with vault secrets, provide all params to the function.
tsx
is recommended to be used as a script runner, so you can add the following script to your package.json
file:
"scripts": {
"sync-with-vault": "tsx sync-with-vault.ts"
}