facade

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//Name is applicatin name
	Name = "gpgpdump"
	//Version is version for applicatin
	Version string
)

Functions

This section is empty.

Types

type ExitCode

type ExitCode int

ExitCode is OS exit code enumeration class

const (
	//ExitNormal is OS exit code "normal"
	ExitNormal ExitCode = iota
	//ExitAbnormal is OS exit code "abnormal"
	ExitAbnormal
)

func Execute

func Execute(ui *gocli.UI, args []string) (exit ExitCode)

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func (ExitCode) Int

func (c ExitCode) Int() int

Int convert integer value

func (ExitCode) String

func (c ExitCode) String() string

Stringer method

Jump to

Keyboard shortcuts

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