Documentation
¶
Overview ¶
Package cmdgrouper provides types for grouping together commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Grouper ¶
type Grouper interface {
// Process considers the command for inclusion in the group.
Process(context.Context, api.CmdID, api.Cmd, *api.State)
// Build returns the groups built and resets the state of the grouper.
Build(end api.CmdID) []Group
}
Grouper is the interface implemented by types that build groups.
Click to show internal directories.
Click to hide internal directories.