prompt

package
v0.0.0-...-9826bf3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prompt

type Prompt struct {
	Files      []string
	Prompt     string
	Extensions []string
}

func NewPrompt

func NewPrompt(prompt string, extensions []string) *Prompt

func (*Prompt) AddDirectory

func (p *Prompt) AddDirectory(dir string) error

func (*Prompt) AddFile

func (p *Prompt) AddFile(file string) error

func (*Prompt) Compile

func (p *Prompt) Compile() (string, error)

Jump to

Keyboard shortcuts

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