cmd

package
v0.0.0-...-6487dab Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2017 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	AsDaemon    bool   `short:"D" long:"daemon,background" description:"run as a daemon in the background"`
	Description string `short:"d" long:"desc,description" description:"service {description} as presented to clients"`
	InputFile   string `short:"i" long:"input" description:"read stdin from a {file}"`
	OutputFile  string `short:"o" long:"output" description:"write stdout to a {file}"`
	ErrorFile   string `short:"e" long:"error" description:"write stderr to a {file}"`
	UseStdIn    bool   `short:"I" long:"stdin" description:"pipe stdin to the process"`
	UseStdOut   bool   `short:"O" long:"stdout" description:"pipe stdout from the process"`
	UseStdErr   bool   `short:"E" long:"stderr" description:"pipe stderr from the process"`
}

func (*Command) Execute

func (m *Command) Execute(c *cli.Context) (err error)

Jump to

Keyboard shortcuts

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