Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ParseCmd = &cobra.Command{ Use: "parse <prd-file>", Short: "Parse a PRD file and create tasks", Long: `Parse a Product Requirements Document and generate hierarchical tasks. The parser uses AI to analyze the PRD and create: - Epics (major features/milestones) - Tasks (work units within epics) - Subtasks (atomic actions within tasks) Each item includes context propagation and testing requirements.`, Args: cobra.ExactArgs(1), RunE: runParse, }
ParseCmd represents the parse command
View Source
var RefineCmd = &cobra.Command{ Use: "refine <issue-id>", Short: "Refine an issue and propagate corrections", Long: `Refine an issue based on feedback and propagate corrections to related issues. This command: 1. Analyzes the target issue against your feedback 2. Identifies what concepts are misaligned 3. Regenerates the issue with corrections 4. Scans children and (optionally) all issues for the same misalignment 5. Updates affected issues via beads Example: prd-parser refine test-e6 --feedback "RealHerd is voice-first, not a CRM" prd-parser refine test-e3t2 --feedback "This should use OpenRouter, not direct OpenAI" --scan-all`, Args: cobra.ExactArgs(1), RunE: runRefine, }
RefineCmd represents the refine command
View Source
var SetupCmd = &cobra.Command{
Use: "setup",
Short: "Interactive configuration wizard",
Long: `Configure prd-parser with an interactive wizard.
This wizard helps you select models for each parsing stage:
- Epic model: Used for generating epics from PRD (Stage 1)
- Task model: Used for generating tasks from epics (Stage 2)
- Subtask model: Used for generating subtasks from tasks (Stage 3)
Configuration is saved to ~/.prd-parser.yaml`,
RunE: runSetup,
}
SetupCmd represents the setup command.
Functions ¶
This section is empty.
Types ¶
type AnalysisResult ¶ added in v0.3.0
type AnalysisResult = core.AnalysisResult
Click to show internal directories.
Click to hide internal directories.