list

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

func NewCommand

func NewCommand(finders ...depbot.FinderFn) *Command

NewCommand with the given finder function.

func (*Command) HelpText added in v0.1.6

func (c *Command) HelpText() string

func (*Command) Main

func (c *Command) Main(ctx context.Context, pwd string, args []string) error

func (*Command) Name

func (c *Command) Name() string

func (*Command) ParseFlags added in v0.1.7

func (c *Command) ParseFlags(args []string) (*flag.FlagSet, error)

func (*Command) SetIO

func (c *Command) SetIO(stderr io.Writer, stdout io.Writer, stdin io.Reader)

Jump to

Keyboard shortcuts

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