command

package
v0.0.0-...-3261f4a Latest Latest
Warning

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

Go to latest
Published: Nov 26, 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 AddCommand

type AddCommand struct {
	From     string
	Src, Dst string
}

func (AddCommand) Name

func (AddCommand) Name() string

func (*AddCommand) Parse

func (command *AddCommand) Parse(n *parser.Node) error

func (*AddCommand) Run

func (command *AddCommand) Run(basePath string, allPaths map[string]string) error

type MetadataCommand

type MetadataCommand struct {
	Key   string
	Value string
}

func (MetadataCommand) Name

func (MetadataCommand) Name() string

func (*MetadataCommand) Parse

func (command *MetadataCommand) Parse(n *parser.Node) error

func (MetadataCommand) Run

type RemoveCommand

type RemoveCommand struct {
	Path string
}

func (RemoveCommand) Name

func (RemoveCommand) Name() string

func (*RemoveCommand) Parse

func (command *RemoveCommand) Parse(n *parser.Node) error

func (*RemoveCommand) Run

func (command *RemoveCommand) Run(basePath string, _ map[string]string) error

Jump to

Keyboard shortcuts

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