Documentation
¶
Overview ¶
Package publish provides terminal output functions for the publish command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublishDone ¶
PublishDone prints the success message with marker info.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
func PublishDryRun ¶
PublishDryRun prints the dry-run notice.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
func PublishPlan ¶
func PublishPlan( cmd *cobra.Command, budget, tasks, decisions, conventions, learnings, totalLines int, )
PublishPlan prints the full publish plan: header, source files, budget, per-file counts, and total.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- budget: maximum line count for the published block.
- tasks: number of pending tasks selected.
- decisions: number of recent decisions selected.
- conventions: number of key conventions selected.
- learnings: number of recent learnings selected.
- totalLines: total lines in the published block.
func UnpublishDone ¶
UnpublishDone prints that the published block was removed.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- filename: source file name (e.g. "MEMORY.md").
func UnpublishNotFound ¶
UnpublishNotFound prints that no published block was found.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- filename: source file name (e.g. "MEMORY.md").
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.