pub fn parse_file(path: &Path) -> Result<Workflow, ZigError>Expand description
Parse a plain .zwf workflow file from disk.
This does not handle .zwfz zip archives — use parse_workflow for
that. If the file is a zip archive, it is extracted to a temp directory
and the TOML workflow inside is parsed. The returned WorkflowSource
must be kept alive for the duration of execution — dropping it cleans
up any temp directory.