merger

package
v0.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagOutputFile is the flag for defining the output file location.
	FlagOutputFile string = cli.FlagOutputFile

	FlagCheck string = "check"
)

Variables

View Source
var DefaultOutputFile = cli.DefaultFile

DefaultOutputFile defines the default output location for the merger.

Functions

This section is empty.

Types

type Merger

type Merger struct {
	// contains filtered or unexported fields
}

Merger is the main structure of this package.

func New

func New(options *Options) *Merger

New returns a new Merger instance.

func (*Merger) Run

func (p *Merger) Run() error

Run the Merger.

type Options

type Options struct {
	// contains filtered or unexported fields
}

Options define all possible options for the puller.

func Default

func Default() *Options

Default returns a default options instance.

func FromContext

func FromContext(ctx *ucli.Context) (*Options, error)

FromContext can be used to create Options from an CLI context.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL