Documentation
¶
Overview ¶
Use peco to let users of the CLI tool select any string
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainer ¶
func NewContainer[T LineContainer]() *containerPecofy[T]
func NewContainerMock ¶
func NewContainerMock[T LineContainer](indexes ...uint64) *containerPecofy[T]
Types ¶
type Input ¶
type Input struct {
// contains filtered or unexported fields
}
func (*Input) AddLineContainers ¶
func (i *Input) AddLineContainers(lines ...LineContainer) *Input
func (*Input) Get ¶
func (i *Input) Get(index uint64) LineContainer
type LineContainer ¶
type Option ¶
type Option []string
func (*Option) SelectionPrefix ¶
--selection-prefix option for peco
type StringLineContainer ¶
type StringLineContainer string
func (StringLineContainer) DisplayString ¶
func (s StringLineContainer) DisplayString() string
func (StringLineContainer) String ¶
func (s StringLineContainer) String() string
Click to show internal directories.
Click to hide internal directories.