import_export_menu

package
v0.0.0-...-0ab5f93 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action int
const (
	ActionExportJSON Action = iota
	ActionExportMD
	ActionExportCSV
	ActionExportTXT
	ActionImportJSON
	ActionImportMD
	ActionImportCSV
	ActionImportTXT
)

func (Action) Extension

func (a Action) Extension() string

func (Action) Format

func (a Action) Format() string

func (Action) IsExport

func (a Action) IsExport() bool

func (Action) Label

func (a Action) Label() string

type CloseMsg

type CloseMsg struct{}

type Model

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

func New

func New(s styles.Styles) Model

func (*Model) SetSize

func (m *Model) SetSize(w, h int)

func (Model) Update

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

func (Model) View

func (m Model) View() string

type SelectMsg

type SelectMsg struct {
	Action Action
	Path   string
}

Jump to

Keyboard shortcuts

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