cli

package
v0.0.0-...-4540c30 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_DIRECTORY = "."
	DEFAULT_GLOB      = "*"
)

Variables

View Source
var (
	// Stdout is a color friendly pipe.
	Stdout = colorable.NewColorableStdout()

	// Stderr is a color friendly pipe.
	Stderr = colorable.NewColorableStderr()
)

Functions

This section is empty.

Types

type Options

type Options struct {
	Case   bool
	Dir    string
	File   string
	From   string
	Help   bool
	Ignore string
	To     string
}

func ParseOptions

func ParseOptions() Options

func (*Options) Usage

func (this *Options) Usage()

func (*Options) Valid

func (this *Options) Valid() bool

type Output

type Output struct {
	Console chan string
	Closed  chan bool
}

func (*Output) Start

func (this *Output) Start()

Jump to

Keyboard shortcuts

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