cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const TableQuery = "SELECT * FROM"

Variables

View Source
var Debug bool

Debug represents a flag for detailed output.

View Source
var ErrNoFile = errors.New("no file")

ErrNoFile is returned when there is no file.

Functions

func Usage added in v0.7.5

func Usage(flags *flag.FlagSet)

Usage is outputs usage information.

Types

type Cli added in v0.7.3

type Cli struct {
	// OutStream is the output destination.
	OutStream io.Writer

	// ErrStream is the error output destination.
	ErrStream io.Writer
}

Cli wraps stdout and error output specification.

func (Cli) Run added in v0.7.3

func (cli Cli) Run(args []string) int

Run executes the main routine. The return value is the exit code.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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