cli

package
v0.0.0-...-c42ad83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(args []string) error

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL