command

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildCommand

type BuildCommand struct {
	Meta
}

func (*BuildCommand) Help

func (c *BuildCommand) Help() string

func (*BuildCommand) Run

func (c *BuildCommand) Run(args []string) int

func (*BuildCommand) Synopsis

func (c *BuildCommand) Synopsis() string

type Meta

type Meta struct {
	Version  string
	Revision string
}

Meta contains the common fields required by all commands.

type NewCommand added in v0.1.0

type NewCommand struct {
	Meta
}

func (*NewCommand) Help added in v0.1.0

func (c *NewCommand) Help() string

func (*NewCommand) Run added in v0.1.0

func (c *NewCommand) Run(args []string) int

func (*NewCommand) Synopsis added in v0.1.0

func (c *NewCommand) Synopsis() string

type SelfUpdateCommand added in v0.2.0

type SelfUpdateCommand struct {
	Meta
}

func (*SelfUpdateCommand) Help added in v0.2.0

func (c *SelfUpdateCommand) Help() string

func (*SelfUpdateCommand) Run added in v0.2.0

func (c *SelfUpdateCommand) Run(args []string) int

func (*SelfUpdateCommand) Synopsis added in v0.2.0

func (c *SelfUpdateCommand) Synopsis() string

type SelfVersionCommand added in v0.2.0

type SelfVersionCommand struct {
	Meta
}

func (*SelfVersionCommand) Help added in v0.2.0

func (c *SelfVersionCommand) Help() string

func (*SelfVersionCommand) Run added in v0.2.0

func (c *SelfVersionCommand) Run(args []string) int

func (*SelfVersionCommand) Synopsis added in v0.2.0

func (c *SelfVersionCommand) Synopsis() string

type ServeCommand

type ServeCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*ServeCommand) Help

func (c *ServeCommand) Help() string

func (*ServeCommand) Run

func (c *ServeCommand) Run(args []string) int

func (*ServeCommand) Synopsis

func (c *ServeCommand) Synopsis() string

Jump to

Keyboard shortcuts

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