Skip to main content

parse_template_annotation

Function parse_template_annotation 

Source
pub fn parse_template_annotation(content: &[u8]) -> bool
Expand description

Return true if the script opts into env-variable substitution.

Looks for # shine-template: true in the shebang or leading comment block.