Giter VIP home page Giter VIP logo

cl-ia's Introduction

CL-AI

A ai-powered code generator CLI to the modern age.

cl-ai is a command-line interface (CLI) tool designed to streamline code generation tasks using advanced language models, including GPT-3 and GPT-4. This tool empowers developers to swiftly produce high-quality code snippets, templates, and even entire functions with minimal effort.

Features

  1. Efficient Code Generation: Harnesses the power of cutting-edge language models to swiftly generate code snippets, reducing development time and effort.
  2. Customizable Templates: Enables users to create and utilize custom code templates tailored to their specific project requirements.
  3. Natural Language Interface: Offers an intuitive natural language interface, allowing users to describe their code requirements in plain English, which is then translated into functional code.
  4. Multi-Model Capabilities: Leverages a diverse array of advanced language models for code generation, enabling users to benefit from the unique strengths of each model.

Installation

npm i @plathon/cl-ai -g

Setup

Create a clai.json in the root of your project. Example:

{
  "overview": "",
  "explain": [
    {
      "folder": "./src/bin",
      "explanation": ""
    }
  ],
  "commands": [
    {
      "name": "example",
      "args": ["name"],
      "templates": [
        {
          "template": "{{name}}-controller.ts",
          "outFile": "./src/controllers/{{name}}-controller.ts"
        },
        {
          "template": "{{name}}-view.ts",
          "outFile": "./src/views/{{name}}-view.ts"
        }
      ],
      "instructions": []
    }
  ],
  "extensions": [".ts"],
  "includes": ["./src/bin", "./src/schemas"]
}

Usage

cl-ai --help

Talk to me on Twitter(@renanplathon)

cl-ia's People

Contributors

plathon avatar

Stargazers

Kauan Guesser avatar RSS avatar Edu avatar  avatar  avatar

Watchers

 avatar

Forkers

kauandotnet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.