logbook

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(repository *work.Repository) *cobra.Command

NewCommand initializes the logbook command.

Types

type Model

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

Model is the TUI model for the logbook command.

func NewModel

func NewModel(repository *work.Repository) *Model

NewModel initializes the TUI model for the logbook command.

func (Model) Init

func (m Model) Init() tea.Cmd

Init currently does nothing.

func (Model) Update

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

Update currently does nothing.

func (Model) View

func (m Model) View() string

View holds the view logic for the main logbook Model.

Jump to

Keyboard shortcuts

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