view

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PrimaryColor = lipgloss.NewStyle().Foreground(lipgloss.Color("#00FF7F"))
	WarningColor = lipgloss.NewStyle().Foreground(lipgloss.Color("#ffff00"))
	DangerColor  = lipgloss.NewStyle().Foreground(lipgloss.Color("#e20000"))
	InfoColor    = lipgloss.NewStyle().Foreground(lipgloss.Color("#ffffff"))
	FocusColor   = lipgloss.NewStyle().Foreground(lipgloss.Color("#009185"))
)
View Source
var CREATE_PROJECT_PROBLEM = []string{
	"Please input your project name.",
	"Please choose your development language.",
}
View Source
var TIPS_TEXT = []string{
	"ctrl+c or q to exit the cli.",
	"enter confirm or next step.",
}

Functions

This section is empty.

Types

type CreateFormEntity

type CreateFormEntity struct {
	Project  string
	Language string
	// contains filtered or unexported fields
}

func NewCreate

func NewCreate() (*CreateFormEntity, error)

func (*CreateFormEntity) Init

func (model *CreateFormEntity) Init() tea.Cmd

func (*CreateFormEntity) Update

func (model *CreateFormEntity) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*CreateFormEntity) View

func (model *CreateFormEntity) View() string

Jump to

Keyboard shortcuts

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