convex-js
convex-js copied to clipboard
Add "env set-from-file" command to CLI
Add "env set-from-file" command to CLI so that users can set multiple deployment environment variables in one command.
# Before
npx convex env set CLERK_SECRET_KEY sk_test...
npx convex env set FIRECRAWL_API_KEY fc-...
npx convex env set OPENAI_API_KEY sk-proj-...
npx convex env set GEMINI_API_KEY sk-gem-...
# After
npx convex env set-from-file .env.prod
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.