scripts

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package scripts handles execution of post-create scripts

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetermineScripts

func DetermineScripts(
	customScripts []string,
	projectScripts []string,
	detectedScripts []string,
	globalOverride string,
) []string

DetermineScripts determines which scripts to run based on configuration and detection

Types

type Runner

type Runner struct {
	Dir string
}

Runner executes scripts in a directory

func NewRunner

func NewRunner(dir string) *Runner

NewRunner creates a new script runner for the given directory

func (*Runner) RunScripts

func (r *Runner) RunScripts(scripts []string) error

RunScripts executes a list of scripts in the runner's directory

Jump to

Keyboard shortcuts

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