transform

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransformCommand

func NewTransformCommand(f *flags.GlobalFlags) *cobra.Command

func OptionalFlagsHookFunc added in v0.0.2

func OptionalFlagsHookFunc() mapstructure.DecodeHookFuncType

Types

type Flags added in v0.0.2

type Flags struct {
	ExportDir         string            `mapstructure:"export-dir"`
	PluginDir         string            `mapstructure:"plugin-dir"`
	TransformDir      string            `mapstructure:"transform-dir"`
	IgnoredPatchesDir string            `mapstructure:"ignored-patches-dir"`
	PluginPriorities  []string          `mapstructure:"plugin-priorities"`
	SkipPlugins       []string          `mapstructure:"skip-plugins"`
	OptionalFlags     map[string]string `mapstructure:"optional-flags"`
}

type Options

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

func (*Options) Complete

func (o *Options) Complete(c *cobra.Command, args []string) error

func (*Options) Run

func (o *Options) Run() error

func (*Options) Validate

func (o *Options) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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