work

package
v0.0.0-...-36e834a Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Args        []string
	Interactive bool
	Short       bool
	UI          interfaces.UI
	NewGit      git.CompatibleConstructor
}

Command holds the configuration and methods required for the work sub-command.

func (*Command) Handle

func (w *Command) Handle() error

Handle is the entry point for the Work sub-command.

func (*Command) List

func (w *Command) List() error

List prints a list of the existing feature branches listing the feature name and underneath all the target branches. If short is provided, the list will show only features names. For a feature to show in this list, the branch name must be of the form feature_<target>_<feature name>

func (*Command) PickFeature

func (w *Command) PickFeature() (string, error)

PickFeature will prompt the user which bug branch to checkout.

Jump to

Keyboard shortcuts

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