plan

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LastFunction

func LastFunction(line string) (string, string, []string)

func RunFunc

func RunFunc(project *projects.Project) func(L *lua.LState) int

RunFunc creates a Lua function that runs a script in a project

func ValueFunc

func ValueFunc(project *projects.Project) func(L *lua.LState) int

ValueFunc creates a Lua function that reads values from files in a project

Types

type Completer

type Completer struct {
	// contains filtered or unexported fields
}

Completer provides command completion for the plan REPL

func NewCompleter

func NewCompleter(repos []RepoContext) *Completer

NewCompleter creates a new completer with the given repos

func (*Completer) Complete

func (c *Completer) Complete(line string) []string

Complete provides command completion for the plan REPL

type RepoContext

type RepoContext struct {
	Project *projects.Project
	VM      *lua.LState
}

RepoContext represents an execution context for one repo

Jump to

Keyboard shortcuts

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