@lokalise/script-utils
v1.1.0
Published
# Usage
Downloads
73
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"
}