Documentation
¶
Index ¶
- func Run(lines []string, opts ...Option) (string, error)
- func RunMulti(lines []string, opts ...Option) ([]string, error)
- type ExpectResult
- type Option
- func WithAnsi() Option
- func WithBind(bindings ...string) Option
- func WithCycle() Option
- func WithDelimiter(d string) Option
- func WithExpectKeys(keys ...string) Option
- func WithHeader(h string) Option
- func WithNoSort() Option
- func WithNth(n string) Option
- func WithPreview(cmd, window string) Option
- func WithPrintQuery() Option
- func WithQuery(q string) Option
- func WithReverse() Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExpectResult ¶ added in v0.5.0
type Option ¶
type Option func(*config)
func WithDelimiter ¶ added in v1.1.12
func WithExpectKeys ¶ added in v0.5.0
func WithHeader ¶
func WithNoSort ¶ added in v0.5.0
func WithNoSort() Option
func WithPreview ¶ added in v0.5.0
func WithPrintQuery ¶ added in v0.5.0
func WithPrintQuery() Option
func WithReverse ¶
func WithReverse() Option
Click to show internal directories.
Click to hide internal directories.