mainModel

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PROJECT section = iota
	LANGUAGE
	PACKAGING
	JAVA
	SPRING_BOOT
	METADATA
	DEPENDENCIES
	BUTTONS
)
View Source
const (
	LOADING appState = iota
	READY
)
View Source
const NSECTIONS = 8

Variables

This section is empty.

Functions

func New

func New(options ...modelOption) model

func WithSpinner

func WithSpinner(spinner spinner.Model) modelOption

func WithTargetDir

func WithTargetDir(targetDirectory string) modelOption

Types

type MainKeyMap

type MainKeyMap struct {
	NEXT_SECTION     key.Binding
	PREV_SECTION     key.Binding
	HELP             key.Binding
	QUIT             key.Binding
	SectionShortKeys []key.Binding
	SectionFullKeys  [][]key.Binding
}

func (MainKeyMap) FullHelp

func (k MainKeyMap) FullHelp() [][]key.Binding

func (MainKeyMap) ShortHelp

func (k MainKeyMap) ShortHelp() []key.Binding

Jump to

Keyboard shortcuts

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