remove

package
v0.0.0-...-117ffbb Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 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(options ...RemoveOption) *Command

func (*Command) Description

func (c *Command) Description() string

func (*Command) Name

func (c *Command) Name() string

func (*Command) Run

func (c *Command) Run(_ context.Context, args []string) error

type RemoveOption

type RemoveOption = func(c *Command)

func WithConfigFiles

func WithConfigFiles(configs map[string]string) RemoveOption

func WithCwd

func WithCwd(cwd string) RemoveOption

func WithFileSystem

func WithFileSystem(fs billy.Filesystem) RemoveOption

Jump to

Keyboard shortcuts

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