rc_group

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MHeader = app_msg.Apply(&MsgHeader{}).(*MsgHeader)
)

Functions

func AppHeader

func AppHeader(ui app_ui.UI, version string)

func UsageHeader

func UsageHeader(ui app_ui.UI, desc app_msg.Message, version string)

Types

type Group

type Group interface {
	Name() string
	BasePkg() string
	Path() []string
	Recipes() map[string]rc_recipe.Spec
	SubGroups() map[string]Group
	Add(r rc_recipe.Spec)
	AddToPath(fullPath []string, relPath []string, name string, r rc_recipe.Spec)
	PrintUsage(ui app_ui.UI, exec, version string)
	GroupDesc() app_msg.Message
	CommandTitle(cmd string) app_msg.Message
	IsSecret() bool
	Select(args []string) (g Group, r rc_recipe.Spec, remainder []string, err error)
}

type MsgHeader

type MsgHeader struct {
	Header  app_msg.Message
	License app_msg.Message
}

Jump to

Keyboard shortcuts

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