Skip to main content


Document your code with ease


Code documentation made easy using GPT.


  -h, --help   help for otto


  • otto ask - Ask a question about a file or repo
  • otto chat - Talk with Otto from the command line!
  • otto cmd - Have Otto suggest a command to run next
  • otto commit - Generates a commit message from the git diff
  • otto config - Configures ottodocs
  • otto docs - Document a repository of files or a single file
  • otto edit - Edit a file using AI
  • otto issue - Get a prompt for or ask Otto about a GitHub Issue.
  • otto pr - Generate a pull request
  • otto prompt - Generates a Otto prompt from a given Git repo
  • otto release - Generate GitHub release notes from git commit logs
  • otto version - Prints version information.
Auto generated by spf13/cobra on 23-Apr-2023