cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package cmd contains all the command functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model added in v0.0.6

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

Model is the main model for the application

func NewModel added in v0.0.5

func NewModel() Model

NewModel creates a new model with sensible defaults

func (Model) Init added in v0.0.6

func (m Model) Init() tea.Cmd

Init sets the initial state of the model

func (Model) Update added in v0.0.6

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

Update will regnerate the model on each run

func (Model) View added in v0.0.6

func (m Model) View() string

View renders the model as a string

Jump to

Keyboard shortcuts

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