Feature proposal: Intuitive syntax for build targets
rule all: input: "plots/quals.svg", "plots/matrix.svg" ...
target: "plots/quals.svg", "plots/matrix.svg" ...
The first time(s) I came upon the Snakemake documentation, I found the former syntax confusing.
(This might have been a reason I initially chose other solutions, such as Luigi).
An extension of the grammar:
snakemake = statement | rule | include | workdir | target
target = "target" ":" parameter_list
This is simply syntactic sugar for a leading
rule: input: parameter_list.
This means that when the "target" statement is not present,
Snakemake's behaviour does not change, ensuring backwards compatibility.
If this feature is desirable, I’d gladly write a PR.