Skip to content

CLI Reference

This section is auto-generated from the cobra command tree by cmd/docgen. Regenerate it with:

shell
make docs.cli

The output is committed to git, so the docs site builds without Go installed. CI verifies the generated tree matches the current command definitions.

Two flavours

CommandAvailable in posh (global)Available in bin/posh (project)
posh init
posh config
posh version
posh prompt
posh execute
posh require
posh brew

The split exists because prompt, execute, require and brew delegate to the Plugin compiled into the project binary. The global posh has no plugin to delegate to.

All commands