Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 526 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 526 Bytes

COMMAND LINE AI Assistant CLAIA

Installation & Setup

npm install

create an environment file and add you API key like this:

API_KEY=

To set up as a global command:

  1. Run chmod -x cli.js
  2. Run npm link while in the project folder

Usage

Call claia "<your prompt>" from any folder to call OpenAI.

Writing files

You can write the OpenAI API response to a file using the -o <filename> syntax.

Example:

CLAIA "make a python program that can ... " -o main.py