setup

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package setup provides interactive configuration and task preset selection for new projects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PresetTasks

func PresetTasks(preset Preset, defs []tasks.TaskDefinition, signals RepoSignals) map[tasks.TaskType]bool

PresetTasks returns the set of enabled task types for the given preset and repo signals.

Types

type Preset

type Preset string

Preset identifies a task selection profile (safe, balanced, aggressive).

const (
	PresetBalanced   Preset = "balanced"
	PresetSafe       Preset = "safe"
	PresetAggressive Preset = "aggressive"
)

type RepoSignals

type RepoSignals struct {
	HasRelease bool
	HasADR     bool
}

RepoSignals holds detected project characteristics that influence task selection.

func DetectRepoSignals

func DetectRepoSignals(projects []string) RepoSignals

DetectRepoSignals inspects project roots for release and ADR signals.

Jump to

Keyboard shortcuts

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