Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandFlags ¶
type CommandFlags struct { CopyRepo bool OnlyAdditions bool OnlyBreakingChanges bool Quiet bool Verbose bool }
CommandFlags is used to specify flags when invoking commands programatically.
type CommitPkgsReport ¶
type CommitPkgsReport struct { AffectedPackages pkgsList `json:"affectedPackages"` BreakingChanges []string `json:"breakingChanges,omitempty"` CommitsReports map[string]pkgsReport `json:"deltas"` }
CommitPkgsReport represents a collection of reports, one for each commit hash.
func ExecPackagesCmd ¶
func ExecPackagesCmd(pkgDir string, commitSeq string, flags CommandFlags) (CommitPkgsReport, error)
ExecPackagesCmd is the programmatic interface for the packages command.
Click to show internal directories.
Click to hide internal directories.