condition

package
v0.0.205 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Dir                     string
	Args                    []string
	LastCommitMessageFilter filters.StringFilter
	BatchMode               bool
	CommandRunner           cmdrunner.CommandRunner
	Out                     io.Writer
	Err                     io.Writer
}

KptOptions the options for the command

func NewCmdCondition

func NewCmdCondition() (*cobra.Command, *Options)

NewCmdCondition creates a command object for the command

func (*Options) Run

func (o *Options) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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