cmd

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Opts = struct {
	Stats    bool
	Preserve bool
	Copy     bool

	Msg  string
	Reps int

	Out io.ReadWriter
}{
	Out:  os.Stdout,
	Reps: 10,
}

Opts are dgen's configurable options.

View Source
var (
	// Version is the program version. To be generated upon compilation by:
	//   -ldflags "-X github.com/stevenxie/dgen/cmd.Version=$(VERSION)"
	//
	// It should match the output of the following command:
	//   git describe --tags | cut -c 2-
	Version string
)

Functions

func Exec

func Exec()

Exec is the program entrypoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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