Install aicommand:
go install github.com/nwiizo/aicommand@latest
Set the your_api_key:
export OPENAI_API_KEY=your_api_key
Run commands without options like this:
aicommand execute uptime
Run commands options like this:
aicommand execute "ls -al"
This application uses OpenAI's GPT models. Usage must comply with OpenAI's terms of use and policies.
Furthermore, this is a tool for interpreting the results of shell command execution. The developers assume no responsibility for the results or interpretation of the commands.