coderai

1.0.2 • Public • Published

coderai

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

Installation

npm install coderai

Setup

To use coderai, 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 coderai -f "<filename>" -p "<prompt>"

Add filename to edit/write and prompt what to edit/write

npx coderai -f "index.js" -p "create a simple express server"

Readme

Keywords

Package Sidebar

Install

npm i coderai

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

4.12 kB

Total Files

5

Last publish

Collaborators

  • rishabhknows