cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SpruceUsage

func SpruceUsage()

Types

type CreateCommand

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

func NewCreateCommand

func NewCreateCommand() *CreateCommand

func (*CreateCommand) Run

func (c *CreateCommand) Run() error

type GenerateCommand

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

func NewGenerateCommand

func NewGenerateCommand() *GenerateCommand

func (*GenerateCommand) Run

func (g *GenerateCommand) Run() error

type Runner

type Runner interface {
	Parse([]string) error
	Name() string
	Run() error
}

type VersionCommand

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

func NewVersionCommand

func NewVersionCommand(binaryVersion, buildTime, goVersion, gitCommit string) *VersionCommand

func (*VersionCommand) Run

func (v *VersionCommand) Run() error

Jump to

Keyboard shortcuts

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