Scut

CLI Reference

scut gotools

Go · docs

Go documentation lookup commands for agents.

scut gotools provides Go tool-inspired lookups that are formatted for agent consumption.

Generated help

Generated from scut gotools --help.

Usage: scut gotools <command> [flags]

Go tool-inspired commands for agents.

Commands:
  gotools doc    Show Go documentation for a package or symbol.

Flags:
  -h, --help       Show context-sensitive help.
  -v, --version    Print version and exit.

Generated from scut gotools doc --help.

Usage: scut gotools doc [<lookup> ...] [flags]

Show Go documentation for a package or symbol.

Arguments:
  [<lookup> ...]    Optional package, symbol, or package symbol lookup.

Flags:
  -h, --help                       Show context-sensitive help.
  -v, --version                    Print version and exit.

      --all                        Show all documentation for the package.
      --short                      Show one-line representation for each symbol.
      --src                        Show full source for the selected symbol.
  -u, --u                          Show unexported symbols as well as exported
                                   symbols.
  -c, --c                          Respect case when matching symbols.
      --cmd                        Show symbols with package docs even if
                                   package is a command.
      --module-version="latest"    Module version query for external packages.