Documentation
¶
Overview ¶
Package root wires together all CLI subcommands and provides the top-level Execute entry point used by main. It also owns the styled help renderer and Viper configuration bootstrap.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "unknown" BuildDate = "unknown" Schema = "0.1.3" )
Version information - set via ldflags at build time Example: go build -ldflags "-X github.com/cthonicasoftware/astrolabe-cli/cmd/astrolabe/root.Version=1.0.0" TODO: verify version schema matches most recent git tag.
Functions ¶
Types ¶
type CaptureComponents ¶
type CaptureComponents struct {
Source captureManagedSource
Manifest core.Manifest
CaptureSettings core.CaptureSettings
}
type CaptureRequest ¶
type CaptureResult ¶
type CaptureService ¶
type CaptureService interface {
Run(ctx context.Context, req CaptureRequest) (CaptureResult, error)
BuildComponents(req CaptureRequest) (CaptureComponents, error)
}
Click to show internal directories.
Click to hide internal directories.