cli

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) *cobra.Command

func NewWithApp

func NewWithApp(version string, a *app.App) *cobra.Command

func RenderExecutionError added in v0.8.0

func RenderExecutionError(cmd *cobra.Command, err error, args []string)

RenderExecutionError writes one command execution error using the selected output format. JSON errors intentionally go to stdout for process consumers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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