cmd

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "dev"
	CommitSHA = "unknown"
	BuildDate = "unknown"
)

Set via ldflags at build time.

Functions

func Execute

func Execute() error

Execute runs the root command.

Types

type Deps

type Deps = deps.Deps

Deps is a type alias for the shared deps.Deps struct. Kept here for backward compatibility with existing CLI code.

func BuildDeps

func BuildDeps(root string, r *render.Renderer) *Deps

BuildDeps delegates to deps.Build for constructing all repositories and services.

type ExitError

type ExitError struct {
	Code  int
	Err   error
	Quiet bool // when true, Execute() exits without printing the error
}

ExitError wraps an error with a process exit code.

func (*ExitError) Error

func (e *ExitError) Error() string

func (*ExitError) Unwrap

func (e *ExitError) Unwrap() error

Jump to

Keyboard shortcuts

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