Bulk send Secret from .env files to the server with Cloudflare Workers / Pages
npm install -D wrangler-secret
USAGE
wrangler-secret [options] <env_path>
ARGUMENTS
<path> Path to the env file
OPTIONS
-c, --config <path> Path to the wrangler config file(Default is wrangler.toml)
-e, --env <environment> Environment
- .env.environment
abc = "123"
def = "456"
Internal calls to wrangler are processed sequentially.
npx wrangler-secret .env.environment