plan

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package plan creates or merges IMPLEMENTATION_PLAN.md with project planning templates during initialization.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleImplementationPlan

func HandleImplementationPlan(cmd *cobra.Command, force, autoMerge bool) error

HandleImplementationPlan creates or merges IMPLEMENTATION_PLAN.md.

Parameters:

  • cmd: Cobra command for output
  • force: If true, overwrite existing plan section
  • autoMerge: If true, skip interactive confirmation

Returns:

  • error: Non-nil if file operations fail

func UpdatePlanSection

func UpdatePlanSection(
	cmd *cobra.Command, existing string, newTemplate []byte,
) error

UpdatePlanSection replaces the existing plan section between markers with new content.

Parameters:

  • cmd: Cobra command for output
  • existing: Existing file content
  • newTemplate: New template content

Returns:

  • error: Non-nil if markers are missing or file operations fail

Types

This section is empty.

Jump to

Keyboard shortcuts

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