pub fn prompt_template_selection(colors: Colors) -> Option<String>Expand description
Prompt the user to select a template when PROMPT.md is missing.
This function:
- Displays a message that PROMPT.md is missing
- Asks if the user wants to create one from a template
- If yes, displays available templates
- Prompts for template selection (with default to feature-spec)
- Returns the selected template name or None if declined
§Arguments
colors- Terminal color configuration for output
§Returns
Some(template_name)- User selected a templateNone- User declined, input was not a terminal, or input errored/ended