paths

package
v0.70.4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrProvideAPathToExplain       = errors.New("please provide a path to explain")
	ErrProvideOnlyOnePathToExplain = errors.New("please provide only one path to explain")
)

Functions

func Paths

func Paths(ctx context.Context, parser *flags.Parser) error

Types

type Cmd added in v0.55.0

type Cmd struct {
	List    ListCmd    `command:"list" description:"List the location where files used by the Vega applications are stored"`
	Explain ExplainCmd `command:"explain" description:"Explain what a path is about"`
}

type ExplainCmd

type ExplainCmd struct{}

func (*ExplainCmd) Execute

func (opts *ExplainCmd) Execute(args []string) error

type ListCmd

type ListCmd struct {
	config.VegaHomeFlag
}

func (*ListCmd) Execute

func (opts *ListCmd) Execute(_ []string) error

Jump to

Keyboard shortcuts

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