cmd

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package cmd provides the cobra commands and sub-commands.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoEditorSet is returned when the EDITOR environment variable is empty.
	ErrNoEditorSet = fmt.Errorf("environment variable EDITOR not set")

	// ErrInvalidEditorSet is returned when the EDITOR environment variable contains illegal characters.
	ErrInvalidEditorSet = fmt.Errorf("environment variable EDITOR contains illegal characters")
)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately.

Types

type AppContext added in v0.21.8

type AppContext struct {
	Viper *viper.Viper
}

AppContext holds shared application dependencies.

Jump to

Keyboard shortcuts

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