Adds a top-level find_workflow function to find the workflow and detect the repo flavor ("nextflow", "snakemake", "galaxy") at the same time. In the CLI, the new default for --lang is to auto-detect: this means that repo2rocrate, if the repo has one of the known layouts, should do the right thing when the workflow language is not specified.
Also adds an option to override the workflow path (the default is to auto-detect, as before).
Closes #4.
Adds a top-level
find_workflow
function to find the workflow and detect the repo flavor ("nextflow", "snakemake", "galaxy") at the same time. In the CLI, the new default for--lang
is to auto-detect: this means thatrepo2rocrate
, if the repo has one of the known layouts, should do the right thing when the workflow language is not specified.Also adds an option to override the workflow path (the default is to auto-detect, as before).