install

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(root string, opts Options) error

Run initializes the repository with the required Agent Layer structure.

Types

type Options

type Options struct {
	Overwrite              bool
	Force                  bool
	PromptOverwriteAll     PromptOverwriteAllFunc
	PromptOverwrite        PromptOverwriteFunc
	PromptDeleteUnknownAll PromptDeleteUnknownAllFunc
	PromptDeleteUnknown    PromptDeleteUnknownFunc
	PinVersion             string
}

Options controls installer behavior.

type PromptDeleteUnknownAllFunc added in v0.5.4

type PromptDeleteUnknownAllFunc func(paths []string) (bool, error)

PromptDeleteUnknownAllFunc asks whether to delete all unknown paths.

type PromptDeleteUnknownFunc added in v0.5.4

type PromptDeleteUnknownFunc func(path string) (bool, error)

PromptDeleteUnknownFunc asks whether to delete a specific unknown path.

type PromptOverwriteAllFunc added in v0.5.4

type PromptOverwriteAllFunc func() (bool, error)

PromptOverwriteAllFunc asks whether to overwrite all managed files.

type PromptOverwriteFunc

type PromptOverwriteFunc func(path string) (bool, error)

PromptOverwriteFunc asks whether to overwrite a given path.

Jump to

Keyboard shortcuts

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