Documentation
¶
Overview ¶
Package profiles defines built-in workflow presets for ds init.
Index ¶
Constants ¶
View Source
const IDCustom = "custom"
Sentinel ID for the custom markdown wizard (not a filesystem detectable preset).
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WorkflowProfile ¶
type WorkflowProfile struct {
ID string
Label string
Description string
// SourceType is "markdown", "openspec", or "adr".
SourceType string
Paths []string
DetectDirs []string
Rules []config.SourceRule
}
WorkflowProfile is a selectable preset that contributes paths and optional markdown rules.
func All ¶
func All() []WorkflowProfile
All returns the registry of built-in profiles (excluding Custom).
func ByID ¶
func ByID(id string) (WorkflowProfile, bool)
ByID returns a built-in profile or ok=false.
func CustomProfile ¶
func CustomProfile() WorkflowProfile
CustomProfile returns the synthetic custom profile entry for multi-select UIs.
Click to show internal directories.
Click to hide internal directories.