module

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReloadModules

func ReloadModules(firsttime bool, modules tui.ModuleService) tea.Cmd

ReloadModules reloads pug modules, resolving any differences between the modules on the user's disk, and those loaded in pug. Set firsttime to toggle whether this is the first time modules are being loaded.

Types

type ListMaker

type ListMaker struct {
	ModuleService    tui.ModuleService
	WorkspaceService tui.WorkspaceService
	RunService       tui.RunService
	Spinner          *spinner.Model
	Workdir          string
	Helpers          *tui.Helpers
}

ListMaker makes module list models

func (*ListMaker) Make

func (m *ListMaker) Make(_ resource.Resource, width, height int) (tea.Model, error)

Jump to

Keyboard shortcuts

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