cli

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 54 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitCode added in v0.3.1

func ExitCode(err error) int

func NewRootCommand

func NewRootCommand(version string) *cobra.Command

func NewRootCommandWithDeps

func NewRootCommandWithDeps(deps Deps) *cobra.Command

func RemoteCLITransportBindings added in v0.3.0

func RemoteCLITransportBindings() ([]transportcatalog.TransportBinding, error)

RemoteCLITransportBindings projects the actual command dispatch registry. Commands absent from remoteCommandRegistry remain local-only or unsupported and continue to fail before any local business handler can run.

func TransportManifest added in v0.3.0

func TransportManifest() (transportcatalog.Manifest, error)

TransportManifest composes every adapter registry loaded by the Pinax CLI. API and RPC servers receive this function as a provider so all three public query surfaces return the same immutable manifest value.

func TransportManifestProjection added in v0.3.0

func TransportManifestProjection() (domain.Projection, error)

Types

type Deps

type Deps struct {
	Service *app.Service
	Version string
}

type RemoteCommandCoverageEntry added in v0.1.3

type RemoteCommandCoverageEntry struct {
	CommandPath string
	Status      string
	Reason      string
	RPCMethod   string
}

func RemoteCommandCoverage added in v0.1.3

func RemoteCommandCoverage(root *cobra.Command) []RemoteCommandCoverageEntry

Jump to

Keyboard shortcuts

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