root

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: LGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const TemplateGitURL = "https://github.com/Argus-Labs/starter-game-template.git"

Variables

View Source
var AppVersion string

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewLogCmd

func NewLogCmd(log string) tea.Cmd

Types

type NewLogMsg

type NewLogMsg struct {
	Log string
}

type Release

type Release struct {
	TagName string `json:"tag_name"`
	Name    string `json:"name"`
	HTMLURL string `json:"html_url"`
}

Release structure to hold the data of the latest release

type WorldCreateModel

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

func NewWorldCreateModel

func NewWorldCreateModel(args []string) WorldCreateModel

func (WorldCreateModel) Init

func (m WorldCreateModel) Init() tea.Cmd

Init returns an initial command for the application to run

func (WorldCreateModel) Update

func (m WorldCreateModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update handles incoming events and updates the model accordingly

func (WorldCreateModel) View

func (m WorldCreateModel) View() string

View renders the UI based on the data in the WorldCreateModel

type WorldDoctorModel

type WorldDoctorModel struct {
	DepStatus    []teacmd.DependencyStatus
	DepStatusErr error
}

func NewWorldDoctorModel

func NewWorldDoctorModel() WorldDoctorModel

func (WorldDoctorModel) Init

func (m WorldDoctorModel) Init() tea.Cmd

Init returns an initial command for the application to run

func (WorldDoctorModel) Update

func (m WorldDoctorModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update handles incoming events and updates the model accordingly

func (WorldDoctorModel) View

func (m WorldDoctorModel) View() string

View renders the model to the screen

Jump to

Keyboard shortcuts

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