EZcodegen is a command-line tool for generating and debugging code using Google Generative AI
npm install @rishabhknows/ezcodegen
To use ezcodegen, you need to set up your environment by creating a .env
file with your Gemini Pro API key:
API_KEY="YOUR_GEMINI_PRO_KEY"
npx ezcodegen -f "<filename>" -p "<prompt>"
Add filename to edit/write
and prompt what to edit/write
npx ezcodegen -f "index.js" -p "create a simple express server"