think

command
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package main implements a command line utility called "think", which provides an interactive shell interface for the user to describe tasks they want to execute in the shell. The tool leverages a language model (like GPT-4) to interpret these task descriptions and generate corresponding bash code. This code can then be edited by the user and subsequently executed in the shell.

The utility supports two modes of operation:

  • In the 'thinking' state, the user interacts with the AI model, describing the task they want to execute. The AI responds with a concise explanation and a proposed bash command that corresponds to the described task.

  • In the 'executing' state, the user reviews the proposed bash code, potentially editing it for correctness or to better suit their specific needs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL