Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeSelectedProfiles ¶
func MergeSelectedProfiles(base *config.RepoConfig, selectedIDs []string, customPaths []string, customRules []config.SourceRule) (*config.RepoConfig, error)
MergeSelectedProfiles merges built-in profile selections and optional custom markdown paths/rules into a copy of base. Empty selectedIDs leaves base unchanged (aside from custom additions).
func RunProfilePick ¶
func RunProfilePick(repoRoot string) (selected []string, customPaths []string, customRules []config.SourceRule, err error)
RunProfilePick runs the interactive profile multi-select and optional custom markdown wizard. It returns selected profile IDs (excluding custom), plus paths and rules contributed by the custom wizard.
Types ¶
type DetectedPattern ¶
DetectedPattern describes a filesystem-derived glob→kind proposal for one source directory.
func DetectPatterns ¶
func DetectPatterns(repoRoot, sourcePath string) []DetectedPattern
DetectPatterns scans a markdown source directory (repo-relative) up to two levels and returns proposed glob→kind mappings based on common naming conventions. The default kind is inferred from the directory name (e.g. "decisions" → decision).