cli_drivers

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CobraCommand

type CobraCommand struct {
	// contains filtered or unexported fields
}

func (*CobraCommand) AddCommand

func (c *CobraCommand) AddCommand(command cli_models.Command) error

func (*CobraCommand) AddCommands

func (c *CobraCommand) AddCommands(commands ...*cli_models.Command) error

func (*CobraCommand) Execute

func (c *CobraCommand) Execute() error

func (*CobraCommand) Init

func (c *CobraCommand) Init(info cli_models.Info) error

func (*CobraCommand) Name

func (c *CobraCommand) Name() string

func (*CobraCommand) SetDefaultAction

func (c *CobraCommand) SetDefaultAction(action func())

Jump to

Keyboard shortcuts

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