commands

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	YotUse = `` /* 237-byte string literal not displayed */

	YotShort = "Yot (YAML Overlay Tool) is a YAML overlay tool."

	YotLong = `` /* 230-byte string literal not displayed */

)

Variables

View Source
var ErrMissingRequired = fmt.Errorf("missing required arguments")

ErrMissingRequired occurs when a required flag is not passed.

Functions

This section is empty.

Types

type Root added in v0.3.0

type Root struct {
	Log     *logging.Logger
	Options *instructions.Config
	Command *cobra.Command
	// contains filtered or unexported fields
}

func New

func New() *Root

func (*Root) AddCommands added in v0.3.0

func (r *Root) AddCommands()

func (*Root) AddFlags added in v0.3.0

func (r *Root) AddFlags()

func (*Root) CompletionCommand added in v0.3.0

func (r *Root) CompletionCommand() *cobra.Command

func (*Root) Completions added in v0.3.0

func (r *Root) Completions(cmd *cobra.Command, args []string)

func (*Root) EnvCommand added in v0.5.0

func (r *Root) EnvCommand() *cobra.Command

func (*Root) Execute added in v0.3.0

func (r *Root) Execute(cmd *cobra.Command, args []string) error

func (Root) NewCommand added in v0.3.0

func (r Root) NewCommand() *cobra.Command

func (*Root) Run added in v0.3.0

func (r *Root) Run()

func (*Root) SetupLogging added in v0.3.0

func (r *Root) SetupLogging(cmd *cobra.Command, args []string)

Jump to

Keyboard shortcuts

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