Documentation ¶
Index ¶
- Constants
- func NewApply(root components.RootModel, parent tea.Model) tea.Model
- func NewInstallation(root components.RootModel, parent tea.Model, ...) tea.Model
- func NewInstallations(root components.RootModel, parent tea.Model) tea.Model
- func NewInstalledMods(root components.RootModel, parent tea.Model) tea.Model
- func NewMainMenu(root components.RootModel) tea.Model
- func NewModInfo(root components.RootModel, parent tea.Model, mod utils.Mod) tea.Model
- func NewModMenu(root components.RootModel, parent tea.Model, mod utils.Mod) tea.Model
- func NewModSemver(root components.RootModel, parent tea.Model, mod utils.Mod) tea.Model
- func NewModVersion(root components.RootModel, parent tea.Model, mod utils.Mod) tea.Model
- func NewModVersionList(root components.RootModel, parent tea.Model, mod utils.Mod) tea.Model
- func NewMods(root components.RootModel, parent tea.Model) tea.Model
- func NewNewInstallation(root components.RootModel, parent tea.Model) tea.Model
- func NewNewProfile(root components.RootModel, parent tea.Model) tea.Model
- func NewProfile(root components.RootModel, parent tea.Model, profileData *cli.Profile) tea.Model
- func NewProfiles(root components.RootModel, parent tea.Model) tea.Model
- func NewRenameProfile(root components.RootModel, parent tea.Model, profileData *cli.Profile) tea.Model
- type ModsListDelegate
- type NewInstallListDelegate
Constants ¶
View Source
const ( KeyControlC = "ctrl+c" KeyEnter = "enter" KeyEscape = "esc" KeyTab = "tab" )
View Source
const (
ErrorFailedAddMod = "failed to add mod"
)
Variables ¶
This section is empty.
Functions ¶
func NewInstallation ¶ added in v0.0.9
func NewInstallation(root components.RootModel, parent tea.Model, installationData *cli.Installation) tea.Model
func NewInstallations ¶
func NewInstalledMods ¶ added in v0.0.15
func NewMainMenu ¶
func NewMainMenu(root components.RootModel) tea.Model
func NewModInfo ¶
func NewModMenu ¶
func NewModSemver ¶
func NewModVersion ¶
func NewModVersionList ¶
func NewNewInstallation ¶ added in v0.0.9
func NewNewProfile ¶ added in v0.0.7
func NewProfile ¶ added in v0.0.7
func NewProfiles ¶
func NewRenameProfile ¶ added in v0.0.7
Types ¶
type ModsListDelegate ¶ added in v0.0.15
type ModsListDelegate struct { list.ItemDelegate Context *cli.GlobalContext }
type NewInstallListDelegate ¶ added in v0.0.15
type NewInstallListDelegate struct {
list.ItemDelegate
}
Click to show internal directories.
Click to hide internal directories.