cli

package
v0.106.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(ctx context.Context, err error, hc *holos.Config) (exitCode int)

HandleError is the top level error handler that unwraps and logs errors.

func New

func New(cfg *holos.Config) *cobra.Command

New returns a new root *cobra.Command for command line execution.

func NewCompareBuildPlansCmd added in v0.104.2

func NewCompareBuildPlansCmd() *cobra.Command

New for the compare buildplans subcommand.

func NewCompareCmd added in v0.104.2

func NewCompareCmd() *cobra.Command

New for the compare command.

func NewCompareYAMLCmd added in v0.104.2

func NewCompareYAMLCmd() *cobra.Command

New for the compare yaml subcommand.

func NewCompileCmd added in v0.104.2

func NewCompileCmd() *cobra.Command

NewCompileCmd returns a new compile command.

func NewShowCmd added in v0.104.2

func NewShowCmd(cfg *platform.Config) (cmd *cobra.Command)

Types

This section is empty.

Directories

Path Synopsis
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

Jump to

Keyboard shortcuts

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