rc_spec

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 29 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MSelfContained = app_msg.Apply(&MsgSelfContained{}).(*MsgSelfContained)
)

Functions

func New

func New(rcp rc_recipe.Recipe) rc_recipe.Spec

func NewSelfContained

func NewSelfContained(scr rc_recipe.Recipe) rc_recipe.Spec

Types

type CommonValues

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

func NewCommonValue

func NewCommonValue() *CommonValues

func (*CommonValues) Apply

func (z *CommonValues) Apply()

func (*CommonValues) Debug

func (z *CommonValues) Debug() map[string]interface{}

func (*CommonValues) Opts

func (z *CommonValues) Opts() app_opt.CommonOpts

func (*CommonValues) SetFlags

func (z *CommonValues) SetFlags(f *flag.FlagSet, ui app_ui.UI)

func (*CommonValues) Value

func (z *CommonValues) Value(name string) rc_recipe.Value

func (*CommonValues) ValueCustomDefault

func (z *CommonValues) ValueCustomDefault(name string) app_msg.MessageOptional

func (*CommonValues) ValueDefault

func (z *CommonValues) ValueDefault(name string) interface{}

func (*CommonValues) ValueDesc

func (z *CommonValues) ValueDesc(name string) app_msg.Message

func (*CommonValues) ValueNames

func (z *CommonValues) ValueNames() []string

type MsgSelfContained

type MsgSelfContained struct {
	IsExperimental                app_msg.Message
	IsIrreversible                app_msg.Message
	IsExperimentalAndIrreversible app_msg.Message
	RecipeHeaderUsage             app_msg.Message
	RecipeUsage                   app_msg.Message
	RecipeAvailableFlags          app_msg.Message
	RecipeCommonFlags             app_msg.Message
}

Jump to

Keyboard shortcuts

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