krieselreihe / litr

Litr (Language Independent Task Runner) lets you configure and then run any tasks you want for any language.
MIT License
8 stars 0 forks source link

Reserved parameter names `or` and `and` should not be reserved #59

Open MartinHelmut opened 2 years ago

MartinHelmut commented 2 years ago

Description

Currently the following two parameter names are reserved:

The reason is that those cannot be clearly distinguished currently from the existing operators. Command script example:

[commands]
build = "echo %{value 'one' or 'two'}"

The value here is an actual parameter value passed in, where or is the keyword.

Proposal

It should not be necessary to reserve those names. This would also make more issues in the future if there would be more keywords. So those should either be: