commands

package
v0.0.0-...-8aeff5c Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 6 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 interface {
	Flags

	Run([]string) error
	Name() string
}

type Flags

type Flags interface {
	// contains filtered or unexported methods
}

type Install

type Install struct {
	*flag.FlagSet
}

func NewInstallCommand

func NewInstallCommand() *Install

func (*Install) Name

func (c *Install) Name() string

func (*Install) Run

func (c *Install) Run([]string) error

type Netif

type Netif struct {
	*flag.FlagSet
}

func NewNetifCommand

func NewNetifCommand() *Netif

func (*Netif) Name

func (c *Netif) Name() string

func (*Netif) Run

func (c *Netif) Run([]string) error

type Run

type Run struct {
	*flag.FlagSet
	// contains filtered or unexported fields
}

func NewRunCommand

func NewRunCommand() *Run

func (*Run) Name

func (c *Run) Name() string

func (*Run) Run

func (c *Run) Run(args []string) error

Jump to

Keyboard shortcuts

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