scripts

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package scripts embeds and extracts bundled helper scripts (hive-tmux, agent-send).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinDir

func BinDir(dataDir string) string

BinDir returns the path to the extracted scripts directory.

func EnsureExtracted

func EnsureExtracted(dataDir, version string) error

EnsureExtracted writes bundled scripts to $dataDir/bin/ when the version changes. A .version marker file tracks the last extracted version.

func ScriptPaths

func ScriptPaths(dataDir string) map[string]string

ScriptPaths returns a map of script name -> absolute path for template functions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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