refresh

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNameRequired   = errors.New("name argument is required")
	ErrIncompleteArgs = errors.New("incomplete args")
)

Functions

This section is empty.

Types

type Initializer

type Initializer struct{}

func (*Initializer) Flags

func (i *Initializer) Flags() *pflag.FlagSet

func (*Initializer) Initialize

func (i *Initializer) Initialize(ctx context.Context, options new.Options) error

func (Initializer) Name

func (i Initializer) Name() string

func (*Initializer) ParseFlags

func (i *Initializer) ParseFlags([]string)

type Plugin

type Plugin struct{}

Plugin takes care of refresh related operations that the CLI needs to take care. I contains methods to satisfy the needs of each of the commands that will call it.

func (Plugin) Develop

func (w Plugin) Develop(ctx context.Context, root string) error

func (Plugin) Name

func (w Plugin) Name() string

Jump to

Keyboard shortcuts

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