initpkg

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package initpkg provides initialization commands for AI agents and editors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PatchMode

type PatchMode int

PatchMode controls settings.json patching behavior

const (
	PatchModeAsk  PatchMode = iota // Default: prompt user [y/N]
	PatchModeAuto                  // --auto-patch: no prompt
	PatchModeSkip                  // --no-patch: manual instructions
)

type PatchResult

type PatchResult int

PatchResult describes the outcome of settings.json patching

const (
	PatchResultPatched        PatchResult = iota // Hook was added successfully
	PatchResultAlreadyPresent                    // Hook was already in settings.json
	PatchResultDeclined                          // User declined when prompted
	PatchResultSkipped                           // --no-patch flag used
)

Jump to

Keyboard shortcuts

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