GPT-3 powered CLI tool for command explanations.
What is ai-cli?
ai-cli is an open source GPT-3 driven command line interface (CLI) tool that allows users to get answers to command line instructions directly in the terminal. It leverages the OpenAI GPT-3 model to provide explanations and usage examples for various command line tools and utilities.
How to use ai-cli?
Install the tool globally using npm (npm i @abhagsain/ai-cli -g). Configure your OpenAI API key using ai auth. You can then use ai ask [question] to get answers, ai autocomplete [SHELL] to set up shell autocompletion, and ai help [COMMAND] to get command-specific help.
Core functions of ai-cli
GPT-3 driver command explanation
Shell autocompletion
OpenAI API key authentication
Model preference selection
CLI updates