Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Main ¶
Main builds and runs the sesam CLI command tree.
The command surface is intentionally broad, but only a subset is fully implemented right now. Unimplemented commands return explicit errors so the caller can detect feature gaps in scripts and tests.
Commands wrapped in commands.WithRepo load a sesam Repo (acquire lock, build managers, defer Close) and hand it to the handler; the wrapping makes it obvious which commands need an initialized sesam repository.
func MockPluginIdentityFile ¶
func MockPluginIdentityFile() string
MockPluginIdentityFile returns the contents of an identity file pointing at the mock plugin, including the `# public key:` header sesam requires.
func MockPluginRecipient ¶
func MockPluginRecipient() string
MockPluginRecipient returns the bech32 recipient string the mock plugin answers to (`age1sesamtest1…`). Test setup uses it to write recipients users can be told about.
func RunMockPlugin ¶
func RunMockPlugin()
Types ¶
This section is empty.