Function parse

Source
pub fn parse(source: &str) -> Result<ToolDefinition>
Expand description

Parses a Bash script and extracts a ToolDefinition.

The parser scans for specially formatted comments (# @...) to build the tool’s definition. A tool description (@describe) is mandatory.