handle_init_prompt

Function handle_init_prompt 

Source
pub fn handle_init_prompt(template_name: &str, colors: Colors) -> Result<bool>
Expand description

Handle the --init-prompt flag.

Creates a PROMPT.md file from the specified template.

§Arguments

  • template_name - The name of the template to use
  • colors - Terminal color configuration for output

§Returns

Returns Ok(true) if the flag was handled (program should exit after), or an error if template creation failed.