commit

package
v0.0.0-...-8dda202 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GtCommit

func GtCommit(args []string) error

func GtMessage

func GtMessage() error

GtMessage corresponding to git commit -m

Types

type ContentDisplay

type ContentDisplay interface {
	View() string
	Reset()
	Update(msg tea.Msg) (textinput.Model, tea.Cmd)
}

type Model

type Model struct {
	ViewController *ViewController
	Cache          *cache.Cache
	Commit         string
}

func NewModel

func NewModel(projectName string) (Model, error)

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() string

type ViewController

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

func NewView

func NewView() *ViewController

func (*ViewController) NextStage

func (v *ViewController) NextStage()

func (*ViewController) OutputContent

func (v *ViewController) OutputContent() string

func (*ViewController) PreviousStage

func (v *ViewController) PreviousStage()

func (*ViewController) Render

func (v *ViewController) Render() string

func (*ViewController) Reset

func (v *ViewController) Reset()

func (*ViewController) SetCurrentStageContent

func (v *ViewController) SetCurrentStageContent(model textinput.Model)

func (*ViewController) Update

func (v *ViewController) Update(msg tea.Msg) (textinput.Model, tea.Cmd)

Jump to

Keyboard shortcuts

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