Help us shape the future of Go! Take the 2026 Go Developer Survey

cliworkflows

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmEmbeddingSearch

func ConfirmEmbeddingSearch(yes bool, usd float64) types.NamedWorkflow[*tzap.Tzap, *tzap.Tzap]

func IndexFilesAndEmbeddings

func IndexFilesAndEmbeddings() types.NamedWorkflow[*tzap.Tzap, *tzap.Tzap]

func IndexZipFilesAndEmbeddings

func IndexZipFilesAndEmbeddings(name project.ProjectName, projectDir project.ProjectDir, zipURL string, disableIndex bool, yes bool, usd float64) types.NamedWorkflow[*tzap.Tzap, *tzap.Tzap]

func LoadAndFetchEmbeddings

func LoadAndFetchEmbeddings(files []types.FileReader, embedder *embed.Embedder, yes bool, usd float64) types.NamedWorkflow[*tzap.Tzap, *tzap.Tzap]

func Print2VSCode

func Print2VSCode(compareToFile *actionpb.FileWrite) types.NamedWorkflow[*tzap.Tzap, *tzap.Tzap]

func PrintEmbeddings

func PrintEmbeddings(embeddings []*actionpb.Embedding) types.NamedWorkflow[*tzap.Tzap, *tzap.Tzap]

func PrintFileDiff

func PrintFileDiff(compareToFile string) types.NamedWorkflow[*tzap.Tzap, *tzap.Tzap]

func PrintInspirationFiles

func PrintInspirationFiles(inspirationFiles []string) types.NamedWorkflow[*tzap.Tzap, *tzap.Tzap]

func SetCLIWorkflowConfigInContext

func SetCLIWorkflowConfigInContext(ctx context.Context, config *CLIWorkflowConfig) context.Context

Types

type CLIWorkflowConfig

type CLIWorkflowConfig struct {
	Usd          float64
	Yes          bool
	DisableIndex bool
}

func GetCLIWorkflowConfigFromContext

func GetCLIWorkflowConfigFromContext(ctx context.Context) *CLIWorkflowConfig

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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