Documentation
¶
Overview ¶
Package prune provides the worktree prune command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdPrune ¶
func NewCmdPrune(f *cmdutil.Factory, runF func(context.Context, *PruneOptions) error) *cobra.Command
NewCmdPrune creates the worktree prune command.
Types ¶
type PruneOptions ¶
type PruneOptions struct {
IOStreams *iostreams.IOStreams
ProjectManager func() (project.ProjectManager, error)
DryRun bool
}
PruneOptions contains the options for the prune command.
Click to show internal directories.
Click to hide internal directories.