Documentation
¶
Overview ¶
Package software parses the embedded additional-software.yaml catalog used by the wizard's multi-select and (in M2) by the Ansible provisioner.
Index ¶
Constants ¶
const DotfilesKey = "dotfiles"
DotfilesKey is the catalog key for the dotfiles entry. It is special in two ways other software is not: it is hidden unless a dotfiles repo is configured (see Selectable), and its Ansible task clones that private repo over the operator's forwarded SSH agent.
Variables ¶
This section is empty.
Functions ¶
func RequiresMise ¶
RequiresMise reports whether any of the selected keys is a mise-managed runtime.
Types ¶
type Item ¶
type Item struct {
Key string `yaml:"key"`
Label string `yaml:"label"`
Mise bool `yaml:"mise"` // installed via mise (a runtime)
}
Item is one installable piece of software.
func Selectable ¶
Selectable returns the catalog items offered to the user. When a dotfiles repo is configured the dotfiles entry is kept and hoisted to the front (it is the terminal environment most guests want first); otherwise it is dropped entirely (there is nothing to clone without a repo). Catalog() stays pure — this per-config filtering and ordering is a presentation concern the wizard/TUI apply.