converter

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: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagOutputFile is the flag for defining the output file location.
	FlagOutputFile  string = cli.FlagOutputFile
	FlagProgramName string = "program-name"
)

Variables

View Source
var DefaultOutputFile = "/dev/stdout"

DefaultOutputFile defines the default output location for the merger.

Functions

This section is empty.

Types

type Converter

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

Converter is the main structure of this package.

func New

func New(options *Options) *Converter

New returns a new Converter instance.

func (*Converter) Run

func (p *Converter) Run() error

Run the Converter.

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