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. Re-run make docs.cli and commit the result whenever you add, remove or reflag a cobra command.

Two flavours ​

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

The split exists because agent, 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 ​