Forrest logo
back to context overview

sgpt

List of commands for sgpt:

  • sgpt:tldr:029e4 sgpt: Use it as a search engine, asking for the mass of the sun.
    $ sgpt "${mass of the sun}"
    try on your machine
    explain this command
  • sgpt:tldr:2a6fd sgpt: Start a `REPL` (Read–eval–print loop) session.
    $ sgpt --repl ${command}
    try on your machine
    explain this command
  • sgpt:tldr:ad43b sgpt: Display help.
    $ sgpt --help
    try on your machine
    explain this command
  • sgpt:tldr:dca86 sgpt: Execute Shell commands, and apply `chmod 444` to all files in the current directory.
    $ sgpt --shell "${make all files in current directory read only}"
    try on your machine
    explain this command
  • sgpt:tldr:eaa9b sgpt: Start a chat session with a unique session name.
    $ sgpt --chat ${session_name} "${please remember my favorite number: 4}"
    try on your machine
    explain this command
  • sgpt:tldr:f7a5a sgpt: Generate code, solving classic fizz buzz problem.
    $ sgpt --code "${solve fizz buzz problem using Python}"
    try on your machine
    explain this command
back to context overview