paths

package
v0.73.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: AGPL-3.0 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

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