Skip to content

It auto-generates the code in a specific file provided the file name and the prompt . I have made this using cli npm package and also published it to npm(It was named coderai previously)

License

Notifications You must be signed in to change notification settings

rishabhknowss/EZcodegen

Repository files navigation

EZcodegen

EZcodegen is a command-line tool for generating and debugging code using Google Generative AI

Installation

npm install @rishabhknows/ezcodegen

Setup

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"

Usage

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"

Getting Started

EZcodegen.mp4

About

It auto-generates the code in a specific file provided the file name and the prompt . I have made this using cli npm package and also published it to npm(It was named coderai previously)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published