iforget

1.0.38 • Public • Published

iforget AI CLI Assistant

iforget is a command-line interface tool that uses OpenAI's GPT-4 to convert user instructions into executable terminal commands. Who remembers every command anyway?

iforget cli

Prerequisites

  • Bun as the JavaScript runtime.
  • An OpenAI API key.

Installation

To install dependencies, run:

bun install

Configuration

Before using CLI-AI, you need to provide your OpenAI API key. The key will be requested upon your first run and stored locally at ~/.your_script_api_key.

Usage

To run CLI-AI, use the following command with your instruction:

bun run index.ts "your instruction here"

The tool will generate a terminal command based on your instruction and execute it.

Example

bun run index.ts "list all files in the current directory"

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Please submit a pull request if you would like to contribute to this project.

Readme

Keywords

none

Package Sidebar

Install

npm i iforget

Weekly Downloads

0

Version

1.0.38

License

none

Unpacked Size

7.98 kB

Total Files

4

Last publish

Collaborators

  • chrisabdo