cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "v0.0.1"

Variables

View Source
var Revision = "development"

Functions

func Execute

func Execute(outStream, errStream io.Writer) int

func NewRootCommand

func NewRootCommand(o *Option) *cobra.Command

func NewVersionCmd

func NewVersionCmd(o *Option) *cobra.Command

func Validate

func Validate(c *config.ApproveConfig, o *Option) error

Types

type Option

type Option struct {
	// contains filtered or unexported fields
}

func NewOption

func NewOption(outStream, errStream io.Writer) *Option

type ValidateError

type ValidateError struct {
	// contains filtered or unexported fields
}

func (ValidateError) Error

func (e ValidateError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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