createcomposefilemodal

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(dir string) tea.Model

New walks the user through creating a brand-new compose file: a filename (with a sane default and basic validation) and an optional one-service seed. Esc cancels the whole flow at any point - the file is never half-created.

This is the bootstrap flow for a directory with no compose file in it. dir is the directory to create it in - the same one the app resolved in and found nothing, so the file it writes is the file the reload afterwards picks up.

Types

type Model

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

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() tea.View

Jump to

Keyboard shortcuts

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