runners

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UseContrib = variable.UseContrib

UseContrib use remote

View Source
var UseGitter = variable.UseGitter

UseGitter get gitter

Functions

func Contrib

func Contrib(_ []string) (runner.BubbleTap, error)

Contrib contrib runner

func Gitter

func Gitter(_ []string) (runner.BubbleTap, error)

Gitter tap to gitter

func PrintErr

func PrintErr(_ []string) (runner.BubbleTap, error)

PrintErr print error

func PrintUsageErr

func PrintUsageErr(_ []string) (runner.BubbleTap, error)

PrintUsageErr try to print usage info from flagset, and if match, error will be swallowed

func UseFlagRemote

func UseFlagRemote(args ...string) (string, error)

UseFlagRemote get remote from flagset

func UseFlagset

func UseFlagset() (*flag.FlagSet, error)

UseFlagset get flagset

func Verbose

func Verbose(_ []string) (runner.BubbleTap, error)

Verbose set verbose to variable

func WithFlagset

func WithFlagset(name string, opt interface{}) runner.CaptureTap

WithFlagset wrap flagset runner

func WithTarget

func WithTarget(f func(args []string) error) runner.CaptureTap

WithTarget runner without bubble tap

func WorkingDir

func WorkingDir(args []string) (runner.BubbleTap, error)

WorkingDir sets working dir

func WorkingHead

func WorkingHead(_ []string) (runner.BubbleTap, error)

WorkingHead checkout to new working head if head flag provided

Types

This section is empty.

Jump to

Keyboard shortcuts

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