Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Long ¶
Long automatically compiles the long description of Cobra commands out of the given short summary and description.
func Wrap ¶
func Wrap(program *program.Program, options WrapOptions)
Wrap makes the given program perform housekeeping before and after it executes.
Types ¶
type WrapOptions ¶
type WrapOptions struct { DryRun bool PreviousBranchCandidates gitdomain.LocalBranchNames RunInGitRoot bool StashOpenChanges bool }
WrapOptions represents the options given to Wrap.
Click to show internal directories.
Click to hide internal directories.