histcli

package
v0.0.0-...-a6e4c85 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Histcli

type Histcli struct {
	// list of records
	List []recordint.SearchApp
	// contains filtered or unexported fields
}

Histcli is a dump of history preprocessed for resh cli purposes

func New

func New(sugar *zap.SugaredLogger) Histcli

New Histcli

func (*Histcli) AddCmdLine

func (h *Histcli) AddCmdLine(cmdline string)

AddCmdLine to the histcli

func (*Histcli) AddRecord

func (h *Histcli) AddRecord(rec *record.V1)

AddRecord to the histcli

Jump to

Keyboard shortcuts

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