commandline

package module
v0.0.0-...-a114629 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: BSD-3-Clause Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commandline

type Commandline struct {
	Metadata *models.Metadata
	// contains filtered or unexported fields
}

func New

func New(metadata *models.Metadata) *Commandline

func NewCustom

func NewCustom(
	metadata *models.Metadata,
	cache *caches.Service,
	logger *logger.Logger,
) *Commandline

func (*Commandline) Command

func (c *Commandline) Command(cmd *commands.Command) *Commandline

func (*Commandline) Flag

func (c *Commandline) Flag(flag flags.Flag) *Commandline

func (*Commandline) Hook

func (c *Commandline) Hook(t hooks.Type, hook hooks.Hook) *Commandline

func (*Commandline) Plugin

func (c *Commandline) Plugin(plugin plugins.Plugin) *Commandline

func (*Commandline) Start

func (c *Commandline) Start(args []string) error

func (*Commandline) String

func (c *Commandline) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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