cmd

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentVersion = Version{
	Major:      0,
	Minor:      4,
	PatchLevel: 1,
	Suffix:     "",
}

Functions

func BuildVersionString added in v0.2.0

func BuildVersionString() string

func NewNormalCmd added in v0.0.3

func NewNormalCmd(parent *flag.FlagSet) (*normalCmd, error)

func NewOpenCmd added in v0.2.0

func NewOpenCmd(parent *flag.FlagSet) (*openCmd, error)

func NewStrategicCmd added in v0.0.3

func NewStrategicCmd(parent *flag.FlagSet) (*strategicCmd, error)

func NewTacticCmd added in v0.0.3

func NewTacticCmd(parent *flag.FlagSet) (*tacticCmd, error)

func NewVersionCmd added in v0.2.0

func NewVersionCmd(parent *flag.FlagSet) (*versionCmd, error)

Types

type DiskWriter added in v0.2.0

type DiskWriter struct {
	// contains filtered or unexported fields
}

func NewDiskWriter added in v0.2.0

func NewDiskWriter(content, filename, mainPath string) (*DiskWriter, error)

func (*DiskWriter) Hash added in v0.2.0

func (dw *DiskWriter) Hash() string

func (*DiskWriter) Write added in v0.2.0

func (dw *DiskWriter) Write() error

type Version added in v0.2.0

type Version struct {
	Major int

	Minor int

	// Increment this for bug releases
	PatchLevel int

	// It will be blank for release versions.
	Suffix string
}

Version represents the DDD Player build version.

func (Version) String added in v0.2.0

func (v Version) String() string

Jump to

Keyboard shortcuts

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