cognition.guide.__main__

Command line access to the packaged agent guide

  • python -m cognition.guide: list headings (indented by level)

  • python -m cognition.guide "Gotchas" "Debugging": print those sections

  • python -m cognition.guide --path: print the guide’s file location

Functions

main([argv])

Runs the command line interface

Module Contents

cognition.guide.__main__.main(argv=None)

Runs the command line interface

Parameters:

argv (list[str] | None) – arguments (None for sys.argv[1:])

Returns:

exit status (0 on success, 1 for an unknown heading)

Return type:

int