generators

package
v0.0.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AI

func AI(name string, prompt PromptFunction, message MessageFunction, splitOn string) *model.Generator

func Filepaths

func Filepaths() []model.TermSuggestion

func Folders

func Folders() []model.TermSuggestion

func Help

func Help() []model.TermSuggestion

TODO: implement help template

func History

func History() []model.TermSuggestion

TODO: implement history template

func Run

func Run(g model.Generator, token []string) []model.TermSuggestion

func RunTemplates

func RunTemplates(templates []model.Template) []model.TermSuggestion

Types

type MessageFunction

type MessageFunction func(executeShellCommand func(string) string) string

type PromptFunction

type PromptFunction func(executeShellCommand func(string) string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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