parser

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Title string `yaml:"title"`
}

type Prompt

type Prompt struct {
	Title    string
	Vars     []Var
	Body     string
	FilePath string
}

func ParsePromptFile

func ParsePromptFile(promptFilePath string) Prompt

type Var

type Var struct {
	Question string
	VarType  VarTypes
	Match    string
}

type VarTypes

type VarTypes int
const (
	InputField VarTypes = iota
	TextField
	SelectField
	MultiSelectField
)

Jump to

Keyboard shortcuts

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