1.1.0 • Published 8 months ago

@lokalise/script-utils v1.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

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"
}
1.1.0

8 months ago

1.0.0

1 year ago