internal

package
v0.0.0-...-38b3051 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApp

func NewApp() *cli.Command

Types

type Command

type Command struct {
	Title string                   `yaml:"title"`
	Cmd   string                   `yaml:"cmd"`
	Vars  map[string]VarDefinition `yaml:"vars"`
}

type Config

type Config struct {
	GlobalVars map[string]VarDefinition `yaml:"vars"`
	Commands   []Command                `yaml:"commands"`
}

type VarDefinition

type VarDefinition struct {
	Options       []string `yaml:"options"`
	OptionsCmd    string   `yaml:"options_cmd"`
	Multi         *bool    `yaml:"multi"`
	Delimiter     *string  `yaml:"delimiter"`
	Required      *bool    `yaml:"required"`
	AllowFreeform *bool    `yaml:"allowFreeform"`
}

Jump to

Keyboard shortcuts

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