Documentation
¶
Overview ¶
Package example provides usage examples shown when the add command receives no content for a given entry type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForType ¶
ForType returns example usage strings for a given entry type.
The examples are loaded from the embedded commands.yaml asset. Entry type keys (decision, task, learning, convention) are defined in config/entry and match the YAML keys in examples.yaml.
Parameters:
- fileType: Entry type (e.g., "decision", "task", "learning", "convention")
Returns:
- string: Formatted example commands; returns a generic example for unrecognized types
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.