sgpt Command Examples

Command-line productivity tool powered by OpenAI's GPT models. More information: https://github.com/TheR1D/shell_gpt#readme.

sgpt "{{mass of the sun}}"

sgpt --shell "{{make all files in current directory read only}}"

sgpt --code "{{solve fizz buzz problem using Python}}"

sgpt --chat {{session_name}} "{{please remember my favorite number: 4}}"

sgpt --repl {{command}}

sgpt --help