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

Set search path / PATH variable from configuration #77

Open MartinHelmut opened 1 year ago

MartinHelmut commented 1 year ago

Would be nice to be able to set/extend search paths for easier command use. Assuming there is a "options" block supported in the config, the following could be possible (NPM example).

# litr.toml
[options]
paths = ["node_modules/.bin"]

[commands]
format = "prettier --write ."