deps

package
v0.0.0-...-c64a791 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package deps contains the logic for the go-showdeps command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowDeps

func ShowDeps(serviceRoot string, cfg config.Config) error

ShowDeps is the main function.

Types

type ModalWithInput

type ModalWithInput struct {
	*tview.Box
	// contains filtered or unexported fields
}

ModalWithInput is a tview.Modal with an additional Search input field.

func NewModalWithInput

func NewModalWithInput() *ModalWithInput

func (*ModalWithInput) ClearInput

func (m *ModalWithInput) ClearInput()

func (*ModalWithInput) Draw

func (m *ModalWithInput) Draw(screen tcell.Screen)

func (*ModalWithInput) Focus

func (m *ModalWithInput) Focus(delegate func(p tview.Primitive))

func (*ModalWithInput) GetInput

func (m *ModalWithInput) GetInput() string

func (*ModalWithInput) HasFocus

func (m *ModalWithInput) HasFocus() bool

func (*ModalWithInput) InputHandler

func (m *ModalWithInput) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

Jump to

Keyboard shortcuts

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