convex-js icon indicating copy to clipboard operation
convex-js copied to clipboard

Add "env set-from-file" command to CLI

Open C41M50N opened this issue 2 months ago • 0 comments

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.

C41M50N avatar Oct 05 '25 18:10 C41M50N