Documentation
¶
Overview ¶
Package diff provides the polymorphic top-level `diff` command verb, with subcommands for comparing solutions, bundles, and snapshots.
Index ¶
- func CommandDiff(cliParams *settings.Run, ioStreams *terminal.IOStreams, binaryName string) *cobra.Command
- func CommandDiffBundle(cliParams *settings.Run, ioStreams *terminal.IOStreams, binaryName string) *cobra.Command
- func CommandDiffSnapshot(_ *settings.Run, ioStreams terminal.IOStreams, binaryName string) *cobra.Command
- func CommandDiffSolution(cliParams *settings.Run, ioStreams terminal.IOStreams, binaryName string) *cobra.Command
- type BundleDiffOptions
- type FileDiffEntry
- type FilesDiff
- type PluginDiffEntry
- type PluginsDiff
- type SnapshotDiffOptions
- type SolutionDiff
- type SolutionDiffOptions
- type VendoredDiff
- type VendoredEntry
- type VendoredUpgrade
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandDiff ¶
func CommandDiff(cliParams *settings.Run, ioStreams *terminal.IOStreams, binaryName string) *cobra.Command
CommandDiff creates the top-level `diff` command group. It is a polymorphic verb whose subcommands compare different scafctl artifact kinds.
func CommandDiffBundle ¶
func CommandDiffBundle(cliParams *settings.Run, ioStreams *terminal.IOStreams, binaryName string) *cobra.Command
CommandDiffBundle creates the `diff bundle` subcommand.
Types ¶
type BundleDiffOptions ¶
type BundleDiffOptions struct {
RefA string
RefB string
FilesOnly bool
SolutionOnly bool
Ignore []string
CliParams *settings.Run
IOStreams *terminal.IOStreams
flags.KvxOutputFlags
}
BundleDiffOptions holds options for the diff bundle command.
type FileDiffEntry ¶
type FileDiffEntry = bundler.FileDiffEntry
Type aliases pointing to the domain types in the bundler package.
type PluginDiffEntry ¶
type PluginDiffEntry = bundler.PluginDiffEntry
Type aliases pointing to the domain types in the bundler package.
type PluginsDiff ¶
type PluginsDiff = bundler.PluginsDiff
Type aliases pointing to the domain types in the bundler package.
type SnapshotDiffOptions ¶
type SnapshotDiffOptions struct {
BeforeFile string
AfterFile string
Format string
IgnoreUnchanged bool
IgnoreFields []string
}
SnapshotDiffOptions holds options for the diff snapshot command.
type SolutionDiff ¶
type SolutionDiff = bundler.SolutionDiff
Type aliases pointing to the domain types in the bundler package.
type SolutionDiffOptions ¶
SolutionDiffOptions holds options for the diff solution command.
type VendoredDiff ¶
type VendoredDiff = bundler.VendoredDiff
Type aliases pointing to the domain types in the bundler package.
type VendoredEntry ¶
type VendoredEntry = bundler.VendoredEntry
Type aliases pointing to the domain types in the bundler package.
type VendoredUpgrade ¶
type VendoredUpgrade = bundler.VendoredUpgrade
Type aliases pointing to the domain types in the bundler package.